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.1 required=5.0 tests=BAYES_00,FREEMAIL_FROM, PP_MIME_FAKE_ASCII_TEXT autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII X-Google-Thread: 103376,126b9ecb088e6bfd X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-10-12 07:12:06 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.stueberl.de!newspeer1-gui.server.ntli.net!ntli.net!proxad.net!feeder2-1.proxad.net!news1-1.free.fr!not-for-mail From: "Alex Xela" Newsgroups: comp.lang.ada References: <3f8904a1$0$10406$626a54ce@news.free.fr> Subject: Re: using 'storage_size ? Date: Sun, 12 Oct 2003 16:12:19 +0200 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2720.3000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2727.1300 Message-ID: <3f896135$0$10405$626a54ce@news.free.fr> Organization: Guest of ProXad - France NNTP-Posting-Date: 12 Oct 2003 16:12:05 MEST NNTP-Posting-Host: 81.56.190.34 X-Trace: 1065967925 news1-1.free.fr 10405 81.56.190.34:4581 X-Complaints-To: abuse@proxad.net Xref: archiver1.google.com comp.lang.ada:733 Date: 2003-10-12T16:12:05+02:00 List-Id: -------------------------------------------- Yes, but why does it work when the line 20 is commented? It is also working (with or without line 20) with the Aonix compiler ObjectAda. Alex. -------------------------------------------- "Duncan Sands" a �crit dans le message de news: mailman.70.1065961988.25614.comp.lang.ada@ada-france.org... > On Sunday 12 October 2003 09:37, Alex Xela wrote: > > When the line 20 of the following code is uncommented the program raises a > > Storage_Error with GNAT3.15p under W2k. > > > > If I did not make a mistake, I reclaim for 5Mo at line 23. This is > > confusing me????? > > It looks like the memory is being allocated on the stack. On some machines the > stack is not allowed to be very big (or even if it is allowed to be big, you are > not allowed to increase its size too fast - this catches infinite recursive loops > and that kind of thing). > > Duncan.