Enabled memory compaction when processes are closed