-------------------------------------------- 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.