Date: Mon, 26 Dec 94 09:33:31 EDT From: acmq AT beta DOT coe DOT ufrj DOT br (Antonio Carlos Moreirao de Queiroz) To: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Memory allocation Eli Zaretskii, answering a question, writes: > On the other hand, if you need to know how much memory is left in > the pages which were already allocated and then freed (they are > not returned to the system, so the above call won't count them), > then I think you will have to hack memory-allocation routines, there > is nothing AFAIK like the Borland's heap_left() and heap_walk(). The Borland's heap_walk() and heapcheck() routines are very useful in the detection of bugs in memory allocation. Someone with more experience with the memory allocation used by djgpp could write similar routines. Antonio Carlos M. de Queiroz