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.
Let me suggest the memory control to be implemented in future versions,
to avoid those problems. I'd guess it wouldn't affect the speed.