Bill Allombert on Sat, 12 Sep 2015 12:24:19 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Trying to allocate too much memory is not handled gracefully


On Fri, Sep 11, 2015 at 10:39:07PM +0200, Peter Bruin wrote:
> Hi Bill,
> 
> > Thanks I have applied your patch (except for the last line, 
> > default(parisizemax) should return what the user gave).
> 
> Thanks!  The existing behaviour still slightly puzzles me, though:
> 
> gp> default(parisizemax,2^63-1)
>   ***   Warning: not enough memory, new stack 4611686018427387904
>   .........
>   ***   Warning: not enough memory, new stack 70368744177664
>   ***   Warning: new maximum stack size = 9223372036854775807 (8796093022208.000 Mbytes).
> gp> default(parisizemax)
> %1 = 70368744177664

Ah yes, I was confused. I just fixed it. Thanks!

Cheers,
Bill.