Gerhard Niklasch on Thu, 30 Jul 1998 23:25:26 +0200 (MET DST) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: SEGV on bad recursion |
Expanding on > Message-Id: <199807302027.QAA18628@monk.mps.ohio-state.edu> > Date: Thu, 30 Jul 1998 16:27:14 -0400 (EDT) > From: Ilya Zakharevich <ilya@math.ohio-state.edu> > I had written: > > (4) On SunOS/Solaris where Igor originally observed this behavior, > > the C stack sits in a fixed-size (8MBy) memory segment, and fills up > > this segment before the parameter blocks exhaust the default PARI stack, > > and before the other allocations exhaust the available virtual memory. > > Type > limit > on your shell command-line. ...if your shell knows about this (csh, tcsh). Or ulimit -a (sh, ksh, bash). In either case, you can view or set the stack size limit (or remove a pre-set one) for all child processes spawned henceforth by this shell. However, this won't affect any processes already running. Remove a pre-set limit at your own risk and that of any other users of the same machine. ;^) Gerhard