delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/05/03/09:34:22

Message-ID: <3EB3B486.8CE70923@yahoo.com>
Date: Sat, 03 May 2003 08:22:30 -0400
From: CBFalconer <cbfalconer AT yahoo DOT com>
Organization: Ched Research
X-Mailer: Mozilla 4.75 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
Subject: Re: Preposterously large allocations
References: <10305022223 DOT AA23190 AT clio DOT rice DOT edu>
Reply-To: djgpp-workers AT delorie DOT com

Charles Sandmann wrote:
> 
> > ... and likewise for the preposterously large allocations.
> 
> Preposterous is in the eye of the beholder :-)
> 
> I've been asked to look at making DJGPP do the right thing for
> 4GB address space type work.  It seems that "real" 32-bit
> operating systems are more limiting for big allocations than
> DJGPP is (you can already run programs requiring over 3GB of
> memory if you are careful - but people would like to be less
> careful ...)

You won't be able to with nmalloc, at least not in a single
chunk.  I have wired in a limit of INT_MAX-65536 for any single
malloc/realloc.

-- 
Chuck F (cbfalconer AT yahoo DOT com) (cbfalconer AT worldnet DOT att DOT net)
   Available for consulting/temporary embedded and systems.
   <http://cbfalconer.home.att.net>  USE worldnet address!


- Raw text -


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