> < ^ Date: Tue, 24 Aug 1993 01:18:28 +0200
> < ^ From: Martin Schoenert <martin.schoenert@math.rwth-aachen.de >
> < ^ Subject: Re: stack overflow

Dima Pasechnik writes in his e-mail message of 1993/08/11
How one can recognise the sutuation when a recursive GAP function
causes the stack overflow. How one can find the size of space avaliable
for such a stack.

The answer to the first question is unfortunatly ``not at all''. Apart
from getting a core dump, that is. The answer to the second question
depends on the operating system. Under most variants of UNIX there is
something called 'limit' or 'ulimit', which can be used to get and set
the process parameters, such as maximal data space or stack space.

Martin.

-- .- .-. - .. -.  .-.. --- ...- . ...  .- -. -. .. -.- .-
Martin Sch"onert,   Martin.Schoenert@Math.RWTH-Aachen.DE,   +49 241 804551
Lehrstuhl D f"ur Mathematik, Templergraben 64, RWTH, 52056 Aachen, Germany

> < [top]