delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/09/27/10:49:06

From: "Charles Sandmann" <sandmann AT clio DOT rice DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: 512 MB array ?
Date: Thu, 27 Sep 2001 9:29:23
Organization: Aspen Technology, Inc.
Lines: 12
Message-ID: <3bb2f173.sandmann@clio.rice.edu>
References: <Xns912976315C56raf256civplasdsdj412 AT 193 DOT 219 DOT 28 DOT 2>
NNTP-Posting-Host: dcloan.hou.aspentech.com
X-Trace: selma.aspentech.com 1001601497 29761 10.32.115.107 (27 Sep 2001 14:38:17 GMT)
X-Complaints-To: postmaster AT aspentech DOT com
NNTP-Posting-Date: 27 Sep 2001 14:38:17 GMT
X-NewsEditor: ED-1.5.8
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> I need realy BIG array (for some mathematic / geometric calculations) is it 
> possible to allocate about 512 MB array in DJGGP ? (I have 128 MB RAM, but 
> over 5 GB HDD) I heard, that in protected mode theoritcly You can access up 
> to 4 TB (!) of memory... is it true ?

The DJGPP/GCC architecture is limited to easily accessing 4Gb.  I have tested
CWSDPMI r5 up to 3Gb (1 Gb physical + 2 Gb virtual) and PMODE up to 1Gb physical.
You will probably need to use CWSPARAM to up the disk allocation (the default
is 128Mb I believe).

Some newer Intel chips support up to 64Gb of physical memory, but one process
cannot easily get to all that memory.

- Raw text -


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