From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: How to check avail memory Date: Sun, 10 May 1998 16:08:15 -0400 Organization: Two pounds of chaos and a pinch of salt. Lines: 17 Message-ID: <3556092F.2ABD@cs.com> References: <6j4vug$sro$1 AT goof DOT de DOT uu DOT net> NNTP-Posting-Host: ppp131.cs.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Alexander Kraut wrote: > > How can I check the maximum available memory I can allocate with > new ? Look in chapter 15 of the DJGPP Frequently Asked Questions list for complete details on runtime memory issues. The bottom line is that, under DPMI, there's no easy way to know how much memory you have left once your program begins allocating and freeing it. -- --------------------------------------------------------------------- | John M. Aldrich | A singer in a smoky room / Smell of | | aka Fighteer I | wine and cheap perfume / For a smile | | mailto:fighteer AT cs DOT com | they can share the night / It goes | | http://www.cs.com/fighteer | on and on and on... | ---------------------------------------------------------------------