www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/12/14:44:59

Message-Id: <m0z6frN-000S4TC@inti.gov.ar>
Comments: Authenticated sender is <salvador AT natacha DOT inti DOT gov DOT ar>
From: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT gov DOT ar>
Organization: INTI
To: "Anand Singh Bisen" <imbbpl AT mp DOT mp DOT nic DOT in>, djgpp AT delorie DOT com
Date: Wed, 12 Aug 1998 15:53:57 +0000
MIME-Version: 1.0
Subject: Re: memory problem
In-reply-to: <00a201bdc614$696c6940$186064a4@anandbis>

"Anand Singh Bisen" <imbbpl AT mp DOT mp DOT nic DOT in> wrote:

>     I wanted to know why is there so much memory difference when running
> rhide from DOS there is huge amount of Virtual memory shown in the top right
> corner like 159 MB and when in win dos box the memory reduces to 30 MB and
> the physical memory remains the same

 DJGPP programs run under DPMI hosts. In DOS the default DPMI host (shipped 
with djgpp) is CWSDPMI, it supports up to 256Mb of virtual + 256Mb of 
physical (if I remmember well). By default I think the limit is 128Mb of 
maximun swap, so in systems with 30Mb of physical (and enough space in 
disk) you'll get 158Mb (more or less what you see). 
 Under W9x the DPMI host is Wincrap itself so the limits are impossed by some 
dead brain people from M$.
  The limit of the W9x DPMI host is 64Mb but by default is less, you must 
edit the preferences of your DOS box and change default by 65535 in the DPMI 
setting.
  That's very well explained in the FAQ.

SET
------------------------------------ 0 --------------------------------
Visit my home page: http://set-soft.home.ml.org/
or
http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-soft AT usa DOT net set AT computer DOT org
ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013

- Raw text -


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