Gerhard Niklasch on Mon, 13 Nov 2000 18:29:30 +0100 (MET)


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

Re: *** the PARI stack overflows !!!


In response to:
> Message-ID: <Pine.GSO.4.20.0011131012540.15458-100000@radius.math.uiuc.edu>
> Date: Mon, 13 Nov 2000 10:35:51 -0600 (CST)
> From: "James G. McLaughlin" <jgmclaug@math.uiuc.edu>
> To: Karim BELABAS <Karim.Belabas@math.u-psud.fr>
> cc: pari-dev@list.cr.yp.to
> Subject: Re: ***   the PARI stack overflows !!!

> I guess it must be fairly old as it reads
>                     GP/PARI CALCULATOR Version 2.0.4 (alpha)
>                          SuperSparc Fast 32-bit version
>                 (readline enabled, extended help not available)

> How old is this version?

About two and a half years.  Slightly more, in fact.
In information age terms, an eternity...!

> I might ask the sysadmin here if a newer version 
> is available here.

The stable 2.1.0 is expected any day now. :)

> As I said,
> sometimes I do not know how big the stack needs to get for a particular
> program so rather than allocate a huge amoount of memory I have several
> copies of the program in the file ...

This is on what, Solaris 2.x,7,8 ?  (uname -a will tell you)
With how much swap space available?  (swap -s; swap -l)

If there is no serious shortage of swap space, you may shamelessly
run gp with something like -s 50000000 .  This will reserve that
many bytes of virtual memory  (and thus block that much swap space
from being used by other processes),  but it will not take up any
physical RAM unless and until it actually needs it.  (NB this state-
ment is Solaris-specific;  on other platforms your mileage may vary.
Contact me directly via my work address in the Reply-To if you have
Solaris-specific questions arising from this.)

Cheers, Gerhard
-- 
+---------------------------------------------------------------------------+
| Dr. Gerhard Niklasch, Fa. ConSol* GmbH  Phone: +49 89 45841-183 Fax: -199 |
| Franziskanerstr. 38                     Email: Gerhard.Niklasch@consol.de |
| 81669 Muenchen, Germany               or Gerhard.Niklasch@germany.sun.com |
|                                         http://www.consol.de/             |
+---------------------------------------------------------------------------+