Date: Fri, 5 Apr 1996 11:04:58 +0200 (IST) From: Eli Zaretskii To: Knight Walker Cc: djgpp AT delorie DOT com Subject: Re: Virtual memory in WIN95/DJGPP In-Reply-To: <4ju075$nfa@news.aros.net> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On 3 Apr 1996, Knight Walker wrote: > >Does anyone know wether it is possible to use more than the physical > >available memory in the combination of DJGPP-2 and WIN95? My application > >sometimes needs some more.... > > Well (This may just be me), but my guess would be 'no'. I wrote a program in > DJGPP to allocate memory and was beta testing it under Windows 95. The > machine I was testing it on had 24-Meg RAM and a 545-Meg hard drive. I was > able to get up to 22 of the 24 meg before the program came back and said there > was not enough DPMI memory. It may be that I was allocating too fast, and the Some time ago somebody tested this under Win95 and told here that: 1) You cannot get more than 64MBytes of DPMI virtual memory under Win95, no matter how many physical memory and swap space you have. 2) To get virtual memory, you MUST set the amount of DPMI memory in the DOS box property sheet to 65535K; setting it to "Automatic" won't do. With the above setting, that person reported to be able to get upto 64MB on a machine that has 16MB of physical RAM. (You cannot have them in one piece, because Win95 won't let you to allocate more than 1/2 of what's left in one piece. So you can have 32MB, then another piece of 16MB, then another of 8MB, and so on.) Could you please test if that's true and tell here? Thanks.