CompuServe Messages

Memory Use

    08-Dec-89 22:51:47
Sb: #77592-Memory Use
Fm: Mike Spille/Manx 71545,1466
To: Syndesis 76004,1763
The default memory manager is part of c.lib, where as the alternative manager is contained in heapmem.o, as has already been mentioned. The difference between them is that the default manager really isn't a manager – it just calls AllocMem(). In fact, the default manager doesn't even have a realloc() routine! The advantage of the default manager is that you can allocate as much as you want (w/in memory constraints, of course). The manager in heapmem.o, on the other hand, only has _Heapsize bytes to work with. This manager is must faster than the default, however, and also includes a realloc() routine. I hope this clears up the confusion. -Mike