From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,93ca55d876f9f4fc X-Google-Attributes: gid103376,public From: "Bobby D. Bryant" Subject: Re: heap exhausted during elaboration Date: 2000/07/30 Message-ID: <398494D9.ADE9F40F@mail.utexas.edu>#1/1 X-Deja-AN: 652553160 Content-Transfer-Encoding: 7bit References: <39800150.424F8700@hotmail.com> To: npriebe@hotmail.com X-Accept-Language: en,fr,de Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@cc.utexas.edu X-Trace: geraldo.cc.utexas.edu 964993720 16400 128.83.111.43 (30 Jul 2000 21:48:40 GMT) Organization: The University of Texas at Austin Mime-Version: 1.0 NNTP-Posting-Date: 30 Jul 2000 21:48:40 GMT Newsgroups: comp.lang.ada Date: 2000-07-30T21:48:40+00:00 List-Id: 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