comp.lang.ada
 help / color / mirror / Atom feed
From: "Alex Xela" <xela2@free.fr>
Subject: Re: using 'storage_size ?
Date: Sun, 12 Oct 2003 16:12:19 +0200
Date: 2003-10-12T16:12:05+02:00	[thread overview]
Message-ID: <3f896135$0$10405$626a54ce@news.free.fr> (raw)
In-Reply-To: mailman.70.1065961988.25614.comp.lang.ada@ada-france.org

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 931 bytes --]

--------------------------------------------

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" <baldrick@free.fr> 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.





  reply	other threads:[~2003-10-12 14:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-12  7:37 using 'storage_size ? Alex Xela
2003-10-12 12:34 ` Duncan Sands
2003-10-12 14:12   ` Alex Xela [this message]
2003-10-12 18:23     ` Duncan Sands
2003-10-12 23:24 ` Robert I. Eachus
2003-10-13 18:20   ` Alex Xela
2003-10-13 18:53     ` Robert I. Eachus
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox