www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/04/05/04:24:43

Date: Fri, 5 Apr 1996 11:04:58 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Knight Walker <kwalker AT aros DOT net>
Cc: djgpp AT delorie DOT com
Subject: Re: Virtual memory in WIN95/DJGPP
In-Reply-To: <4ju075$nfa@news.aros.net>
Message-Id: <Pine.SUN.3.91.960405105824.20066L-100000@is>
Mime-Version: 1.0

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.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019