Date: Wed, 29 Jul 1998 20:05:50 +0300 (IDT) From: Eli Zaretskii To: "Pedro Duarte S. Marques" cc: djgpp AT delorie DOT com Subject: Re: Reserve memory on compilation ? In-Reply-To: <6pnee5$g4p$1@ci.ist.utl.pt> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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.