www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/09/06:14:08

From: "Charles Sandmann" <sandmann AT clio DOT rice DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Memory usage question!
Date: Sun, 8 Aug 1999 17:57:49
Organization: Aspen Technology, Inc.
Message-ID: <37adc51d.sandmann@clio.rice.edu>
References: <19990808112714 DOT 07070 DOT 00009009 AT ng-fy1 DOT aol DOT com>
NNTP-Posting-Host: ptdemo.aco.aspentech.com
X-NewsEditor: ED-1.5.8
Lines: 14
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> I am using DJGPP, and I have 96M RAM.  DJGPP lets me allocate up to 
> about 150Meg. However, my hard drive is 6 gig, and I see no reason I 
> couldn't allocate even more, up to 1 gig or so.  How do I do this?  
> I am using new and delete.  

With CWSDPMI r4 you should be able to get 255Mb of total available 
memory under DOS.  You would need to load the HIMEM.SYS from Win 9x.
You would need to run CWSPARAM to provide more than 128Mb virtual
storage - but do not go above 255Mb total as seen via go32-v2. 
You may need to check the DJGPP version (or malloc library) if you 
don't get the amount of memory shown in Go32-v2 actually available.

With CWSDPMI r5 you should be able to get 2Gb of virtual storage if
desired - but I haven't released it yet.

- Raw text -


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