Sender: nate AT cartsys DOT com Message-ID: <361978CE.D18F4E63@cartsys.com> Date: Mon, 05 Oct 1998 18:56:30 -0700 From: Nate Eldredge X-Mailer: Mozilla 4.05 [en] (X11; I; Linux 2.0.35 i486) MIME-Version: 1.0 To: "La Daga Fabio;Architetture di Controllo per Robot Autonomi" CC: djgpp AT delorie DOT com Subject: Re: memory allocation References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com La Daga Fabio;Architetture di Controllo per Robot Autonomi wrote: > > After having successfully compiled and linked a djgpp program (using C > ANSI, not C++ options), I run the .exe file. > The program (about 350Kb executable) seems to work fine, but suddenly > crashes when memory allocation is performed for loading data. > The error reported is: "Error: Not enough heap space (GetDirFiles = -xxx)" > where xxx is a (usually negative) number variable from crash to crash > (usually it's between 25000 and 65000...but I don't know what it means). > I would appreciate any help...!!!!! Hmm... that doesn't look like a DJGPP message. I assume it's not generated by your program, otherwise you would know what it meant. Are you sure you're using the DJGPP compiler? What command line do you use to compile? What does your PATH look like? -- Nate Eldredge nate AT cartsys DOT com