Date: Wed, 29 Apr 1998 10:52:06 +0300 (IDT) From: Eli Zaretskii To: zarapolo AT club-internet DOT fr cc: djgpp AT delorie DOT com Subject: Re: "virtual memory exhaust" when compiling libgpp In-Reply-To: <35462F2E.6B05@bigfoot.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Tue, 28 Apr 1998 zarapolo AT club-internet DOT fr wrote: > But with "make all-target-gpp" > when compiling sinst.cc there is a error : virtual memory exhaust. > > What Can I Do ? First thing is to determine whether it really runs out of memory. Please run go32-v2 with no arguments in the same DOS box where you run Make and see what does it print. If the sum of the two numbers it reports is less than 64MB, you should bump up the DPMI memory setting of the DOS box in the property sheets (if you don't know how, the DJGPP FAQ list explains it, in section 15.6). If go32-v2 *does* report 64MB, you might try other solutions, in particular enlarging the stack of the compiler, see section 6.4 of the FAQ. Finally, it could really be that sinst.cc requires preposterous amounts of memory to compile. C++ programs (and some pathological C programs) sometimes exhibit this behavior with GCC. Try to divide the source into several files if you can.