Newsgroups: comp.os.msdos.djgpp From: malyon AT netcom DOT com (Roland Acton) Subject: Re: How much memory does a program need? Message-ID: Organization: Netcom On-Line Services References: Date: Wed, 29 Jan 1997 12:12:03 GMT Lines: 7 Sender: malyon AT netcom12 DOT netcom DOT com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Andrew Deren (aderen AT eecs DOT uic DOT edu) wrote: : Is there some way to figure out how much maximum memory the program needs? : Or is using during the execution? : Thanks. Use the functions _go32_dpmi_remaining_physical_memory() and _go32_dpmi_remaining_virtual_memory().