From: Eli Zaretskii Newsgroups: comp.os.msdos.djgpp Subject: Re: Memory hoarding Date: Sun, 26 Sep 1999 08:57:23 +0200 Organization: NetVision Israel Message-ID: References: <7sij2b$pm0$1 AT news6 DOT svr DOT pol DOT co DOT uk> NNTP-Posting-Host: is.elta.co.il Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: news.netvision.net.il 938328969 21718 199.203.121.2 (26 Sep 1999 06:56:09 GMT) X-Complaints-To: abuse AT netvision DOT net DOT il NNTP-Posting-Date: 26 Sep 1999 06:56:09 GMT X-Sender: eliz AT is In-Reply-To: <7sij2b$pm0$1@news6.svr.pol.co.uk> Lines: 15 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Sat, 25 Sep 1999, Ghalos wrote: > When my game starts up I am thinking of grabbing all the available memory I > can but one thing I need to is what is the best way of doing this? I seem > to remember from experiments that the value returned by the maximum block > size function is different from what I could actually allocate by trial and > error. Why is that? Because, besides the largest block, there are smaller blocks which you can use. I think Chapter 15 of the FAQ explains some of the subtle aspects of memory usage in the DJGPP environment. If, after reading that, something is still unclear, please ask specific questions.