[issue18075] Infinite recursion tests triggering a segfault

Ronald Oussoren report at bugs.python.org
Thu May 30 15:33:40 CEST 2013


Ronald Oussoren added the comment:

On 30 May, 2013, at 14:50, STINNER Victor <report at bugs.python.org> wrote:

> 
> STINNER Victor added the comment:
> 
>> The patch changes the maximum stack size from 8 to 16 MByte, neither of which is huge and shouldn't cause other problems.
> 
> On Mac OS X: Is the memory allocated at Python startup, or on demand,
> as the stack grows? If I am correct, the physical memory is allocated
> on demand on Linux.

Memory for the stack is allocated on demand, the parameter sets the maximum size that the stack can grow to. See also man ld(1).

Ronald

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18075>
_______________________________________


More information about the Python-bugs-list mailing list