Date: Sun, 28 Feb 1999 18:49:34 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Vic cc: djgpp AT delorie DOT com Subject: Re: A bug in DJGPP In-Reply-To: <36D95C80.1E29@cam.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Reply-To: djgpp AT delorie DOT com On Sun, 28 Feb 1999, Vic wrote: > also note that the second 'write' is very close to the end of the array, > around 20 megs, so far out of my physical memory. This is incorrect: since you use malloc, not calloc, only the memory you actually access is paged in. So your program actually tested 2 4-KB pages: one at the beginning of the array, the other near the end. 8KB is clearly less than the physical memory you have installed ;-). This isn't to say that DJGPP is limited to 15MB, of course. > second note: djgpp is limited by the amound of memory the DPMI server > can handle. In CWSDPMI it's 256 megs, I think. Under windows, I dunno, > but it's not 15 megs. It depends; it could be 15MB or even less. See sections 3.10 and 15.6 of the FAQ for some details.