Mail Archives: djgpp/1996/05/14/00:25:43
On Mon, 13 May 1996, Dieter Demerre wrote:
> When compiling using DJGPP, is there any way to get to know
> how much memory your application has asked ?
Sorry, the DJGPP library doesn't have such a facility. Somebody with
enough time and motivation should read the sources for `malloc',
understand the data structures used by it and write the code necessary to
report the amount of free memory.
What DJGPP does let you know is the amount of memory that was not yet
requested by the application from the DPMI server. Check out the
functions that report free physical RAM and available virtual memory.
- Raw text -