Igor Schein on Sun, 23 May 1999 12:28:13 -0400


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

2.0.15 - bizarre stack usage


Hi, 

I found this peculiar behavior under linux.  The command completes
if I start with a small stack, but keeps doubling stack to 6MB if
I start with a bigger stack.  Any1 can reproduce it under Linux?

Thanks

Igor

? default(parisize,10^5)
   parisize = 100000
? quadregulator(15!-3)
82295.67020415053082794785520
? default(parisize,2*10^5)
   parisize = 200000
? quadregulator(15!-3)
  ***   the PARI stack overflows !!!

  ***   Warning: doubling stack size; new stack = 400000.
? quadregulator(15!-3)
  ***   the PARI stack overflows !!!

  ***   Warning: doubling stack size; new stack = 800000.
? quadregulator(15!-3)
  ***   the PARI stack overflows !!!

  ***   Warning: doubling stack size; new stack = 1600000.
? quadregulator(15!-3)
  ***   the PARI stack overflows !!!

  ***   Warning: doubling stack size; new stack = 3200000.
? quadregulator(15!-3)
  ***   the PARI stack overflows !!!

  ***   Warning: doubling stack size; new stack = 6400000.
? quadregulator(15!-3)
82295.67020415053082794785520