www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/05/23/12:38:27

Date: Thu, 23 May 2002 19:15:06 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: "Yeryomin, Alex" <ayeryomin AT excelsior-usa DOT com>
cc: "'djgpp AT delorie DOT com'" <djgpp AT delorie DOT com>
Subject: Re: Memory limit in 64 Mb under DOS?
In-Reply-To: <35A52C81CAE0D51198E20090276A816F1C4DC9@sail.excelsior>
Message-ID: <Pine.SUN.3.91.1020523191337.3394A-100000@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On Thu, 23 May 2002, Yeryomin, Alex wrote:

> Hi! Is there anybody? 

Yes, plenty ;-)

> We use DJGPP-compiled program under "pure" DOS on compure equipped more than
> 64 Mb of memory, as usual 128 and ever more till 512 Mb. The program works
> under stress memory-usage conditions, so it needs many memory and all memory
> blocks locked at physical memory. But the program cannot allocate physical
> memory more then 64 Mb. Why? When we run testing program under Windows NT,
> it shows that we can use 400 Mb (exactly installed at a computer). But under
> DOS it always detects only 64 Mb! See the testing program below. Total
> number of physical pages is always ~16000, and each peage is 4096 bytes.

Run go32-v2 with no arguments, and tell what it says.

In general, problems with memory allocations are discussed in Chapter 15 
of the DJGPP FAQ list.  You may wish to read that chapter, perhaps it 
already has a solution for your problems.

- Raw text -


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