Date: Tue, 14 May 1996 07:22:11 +0200 (IST) From: Eli Zaretskii To: Dieter Demerre Cc: djgpp AT delorie DOT com, Dieter DOT Demerre AT cs DOT kuleuven DOT ac DOT be Subject: Re: alternative to BC coreleft() ? (or coreused ()) In-Reply-To: <31974850.167EB0E7@cs.kuleuven.ac.be> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.