Deders
Platinum Member
- Oct 14, 2012
- 2,401
- 1
- 91
Its a different but related problem. The issue isn't really performance to defrag (although that is certainly a concern) its that the program has an open connection to the bytes in question and requires them not to move because its pointing to them. Only highly abstracted memory models like Java's allow for defragging the memory space of a program.
Unlike on hard drives the problem isn't that files get split in multiple locations causing extra seeks. Instead its a problem of space wastage as small gaps between groups of objects appear and those gaps aren't reusable by the program as they are too small. Its called a similar thing to HDD fragmentation but it manifests and behaves very differently - its mostly a concern for programmers.
So is this an issue with PC's as well? I would have thought they would be able to assign data to any part of the available ram. didn't think it had to be contiguous.