comp.lang.ada
 help / color / mirror / Atom feed
From: "Bobby D. Bryant" <bdbryant@mail.utexas.edu>
To: npriebe@hotmail.com
Subject: Re: heap exhausted during elaboration
Date: 2000/07/30
Date: 2000-07-30T21:48:40+00:00	[thread overview]
Message-ID: <398494D9.ADE9F40F@mail.utexas.edu> (raw)
In-Reply-To: 39800150.424F8700@hotmail.com

npriebe wrote:

> I use a gnat compiler under windows NT and during the elaboration
> time ,I get a error message : storage error : heap exhausted.
> I use many generic packages like :
> with package ... is new ...
> may this is a common problem of  a exhausted heap
>
> What can I do? How can I increase the heap or
> do something else?

Hopefully someone more expert will comment, but AFAIK the only ways to
increase your available heap are to increase the size of your physical
memory, increase the size of your page/swap file, or get other things
out of memory.  (You may also be able to reduce the size of the stack
for the program, though this might cause its own problems.)

Most likely increasing the size of your page/swap file will not be a
viable solution unless you only need a bit more heap for your program,
especially if the big data is accessed repeatedly during a run, due to
considerations of running time.

Possibly you ran out of virtual memory, but more likely you ran out of
RAM + page/swap file.

Bobby Bryant
Austin, Texas






  reply	other threads:[~2000-07-30  0:00 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-07-27  0:00 heap exhausted during elaboration ****
2000-07-30  0:00 ` Bobby D. Bryant [this message]
2000-07-31  0:00   ` Ted Dennison
2000-08-01  0:00 ` Kent Paul Dolan
2000-08-02  0:00 ` Harry Overs
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox