delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/05/22:00:48

Sender: nate AT cartsys DOT com
Message-ID: <361978CE.D18F4E63@cartsys.com>
Date: Mon, 05 Oct 1998 18:56:30 -0700
From: Nate Eldredge <nate AT cartsys DOT com>
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" <ladaga AT pmair1 DOT elet DOT polimi DOT it>
CC: djgpp AT delorie DOT com
Subject: Re: memory allocation
References: <Pine DOT SUN DOT 3 DOT 96 DOT 981005174436 DOT 22643A-100000 AT pmair1 DOT elet DOT polimi DOT it>
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

- Raw text -


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