Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!wrdis01!gatech!hubcap!ncrcae!ncr-sd!iss-rb!tortuga!jim From: jim@tortuga.SanDiego.NCR.COM (Jim (James) Ruehlin) Newsgroups: comp.lang.c++ Subject: Re: Problem compiling Borland C++ Todolist example Keywords: borland memory problem Message-ID: <1991Apr24.205642.9596@SanDiego.NCR.COM> Date: 24 Apr 91 20:56:42 GMT References: <4964@melon5.UUCP> Sender: @SanDiego.NCR.COM Reply-To: jim@tortuga.SanDiego.NCR.COM (Jim (James) Ruehlin) Organization: NCR Corporation, Rancho Bernardo Lines: 25 In article <4964@melon5.UUCP> skrbec@motcid.UUCP (Brad Skrbec) writes: >The PC I'm compiling on is an AT compatible with 640K memory, >and 1 Meg of extended memory. The hard disk has about 7 or 8 meg >of space for swapping. > >When I "make" the project list, in BC, I get the message >"Fatal Error: Out of memory" and the compiler craps out in the >tododlgs.h file while compiling todolist.cpp. > >I'm a new C++ user, so be gentle :-) It sounds like you're using BC instead of BCX. BCX is just like BC, except that it's uses extended memory for compiling, not just caching. I got the same message as you at first, before I realized that I needed to use BCX on my 4MB machine. I now allocate it a mere 600k in my Windows PIF file, and I have hundreds of K left over as each module compiles. I too found almost nothing in the manuals that pointed this out. There was one reference to it, and I forgot what manual it was in. Good luck! - Jim Ruehlin