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=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC 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: xanthian@well.com (Kent Paul Dolan) Subject: Re: heap exhausted during elaboration Date: 2000/08/01 Message-ID: #1/1 X-Deja-AN: 653019252 References: <39800150.424F8700@hotmail.com> X-Complaints-To: news@wenet.net X-Trace: news.wenet.net 965090066 208.178.101.2 (Mon, 31 Jul 2000 17:34:26 PDT) Organization: Birthright Party "The birthright of humankind is the stars!" X-Received-Date: Mon, 31 Jul 2000 17:34:58 PDT (newsfeed.avtel.net) Reply-To: xanthian@well.com (Kent Paul Dolan) NNTP-Posting-Date: Mon, 31 Jul 2000 17:34:26 PDT Newsgroups: comp.lang.ada Date: 2000-08-01T00:00:00+00:00 List-Id: In article <39800150.424F8700@hotmail.com>, **** 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? >please help... There are a couple of mis-steps you can make that try to allocate arrays the size of UNIVERSAL_INTEGER_MIN..UNIVERSAL_INTEGER_MAX or whatever it is called that have been discussed here a few times; perhaps it isn't that your program is so big, just that a couple of your data items are hiddenly huge, by mistake. Others here can comment more exactly on the issue, I just noticed that it hasn't been mentioned at all yet, so I thought I'd stick in my amateur oar to roil the waters. Cheers! xanthian. ===== random archival quality quote ===== "They're expending enough energy just taking in oxygen on a daily basis, you think they have any synaptic activity left over to devote to Intelligent Thought?" -- Synth F. Oberheim -- Kent Paul Dolan.