Could be map loading, mapgen or autosave.
Autosave can be disabled in options, but this is generally not a good idea since the game will keep eating more and more RAM until you save, which can be noticeable if you play with z-levels and travel a lot.
It can be set to happen less often, which is safer.