Re: FAST_ARRAY and allocation

"[email protected]" <[email protected]> Thu, 19 May 2005 12:01:53 +0200
Newsgroups gmane.comp.lang.eiffel.smalleiffel
Message-ID <[email protected]>
> j-c.taveau wrote:
> > I was wondering if there is a way to avoid a crash with 'No
> > more memory' message when the memory allocation of a
> > FAST_ARRAY is too large. I tried to catch an exception with
> > 'rescue' unsuccessfully.
> I have just tried (look the attached file).
> 
> At run time, i get:
>      $ compile xx
>      $ ./a.out
>      No more memory: the stack trace may be truncated.
>      size = 268435456
>      $ compile -boost xx
>      $ ./a.out
>      size = 268435456
> 
> So, at least on my example, everything is ok.

Oops !, I forgot the 'retry' in my rescue clause. Now that
works correctly. Thanks again.

Jean-Christophe Taveau.



Accédez au courrier électronique de La Poste : www.laposte.net ; 
3615 LAPOSTENET (0,34€/mn) ; tél : 08 92 68 13 50 (0,34€/mn)