VM Task, compaction routines