Wednesday, February 18, 2009

What did you understand by term COMPACTION ?

Compaction refers to the mechanism of shuffling the memory portions such that all the free portions of the memory can be aligned (or merged) together in a single large block.OS to overcome the problem of fragmentation, either internal or external, performs this mechanism, frequently.

Compaction is possible only if relocation is dynamic and done at run-time, and if relocation is static and done at assembly or load-time then compaction is not possible.

No comments: