CompuServe Thread

#Fragmentation

2 messages in this thread
#82From: Thomas HoladaySep 7, 1990 11:01 AM
A memory fragmentation question: 'avail' shows the same amount of memory available before and after I run my program, but the Largest has been cut in half. Does this mean my program is probably freeing memory it didn't allocate, or is the Amiga's "largest available block" tracking mechanism imperfect? THol() { cout << "Sir, I exist." ;}
#93From: Mike Spille/ManxSep 7, 1990 3:16 PM
As long as the total amount of memory is the same before and after you run your program, then you're not missing any Free()'s. After to talking to a few people I'd say that the Amiga's block coalescer is a bit brain dead, but I understand there are tricks you can pull to get it to coalesce better (don't know what they are off hand though). -Mike