delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/29/13:06:02

Date: Wed, 29 Jul 1998 20:05:50 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: "Pedro Duarte S. Marques" <pdm AT rnl DOT ist DOT utl DOT pt>
cc: djgpp AT delorie DOT com
Subject: Re: Reserve memory on compilation ?
In-Reply-To: <6pnee5$g4p$1@ci.ist.utl.pt>
Message-ID: <Pine.SUN.3.91.980729200232.10267C-100000@is>
MIME-Version: 1.0

On 29 Jul 1998, Pedro Duarte S. Marques wrote:

> How can I tell the compiler to reserve more memory to the execuatble. 
>   I' m trying to run a program that uses 10-12 megs, and when it runs it says 
>  "virtual memory exceded in new", or something like that.

The DJGPP FAQ list (v2/faq210b.zip from the same place you get DJGPP) 
deals with this problem in section 15.4.  Please read it.

>  I also have stack size problems, but in this case it just dumps the registers 
> , I'm using about 800 k on an array ( just to test, I tryed to allocate an
> array of 1000000 ints , and it gave the same error).

The ways to remedy this problem are explained in section 15.9 of the 
DJGPP FAQ list.

- Raw text -


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