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,da126037e6b18fc5 X-Google-Attributes: gid103376,public From: aidan@skinner.demon.co.uk (Aidan Skinner) Subject: Re: GNAT: storage error and tasks Date: 2000/01/26 Message-ID: #1/1 X-Deja-AN: 578199317 X-NNTP-Posting-Host: skinner.demon.co.uk:158.152.76.219 References: <86mjv3$24b$1@nnrp1.deja.com> X-Complaints-To: abuse@demon.net X-Trace: news.demon.co.uk 948955240 nnrp-07:23437 NO-IDENT skinner.demon.co.uk:158.152.76.219 Organization: Insert witty pun here User-Agent: slrn/0.9.5.7 (UNIX) Reply-To: aidan@skinner.demon.co.uk Newsgroups: comp.lang.ada Date: 2000-01-26T00:00:00+00:00 List-Id: On Wed, 26 Jan 2000 10:57:39 GMT, pjbrooke@my-deja.com wrote: >other bits rather messy, so I'd rather use tasks) then there is no >problem. However, when using tasks, they raise Storage_Error. > >I'm using GNAT 3.10p on a Debian Linux machine. Two things: 1) you probably want to upgrade to gnat 3.12p (try http://www.gnuada.org or point apt at the frozen branch), this probably won't fix your problem but its a good general idea. 2) It *sounds* like your doing a lot of stuff on the stack, which has a 2MB limit. Try moving stuff onto the heap (by using access types). Or follow ted's sugestion. - Aidan -- Little Willy was a chemist, Little Willy is no more, What he thought was H2O, Was H2SO4. http://www.skinner.demon.co.uk/aidan/