[pypy-issue] [issue1186] threading.stack_size() doesn't work for big sizes of stack

David Ripton tracker at bugs.pypy.org
Wed Jun 20 17:01:27 CEST 2012


David Ripton <d+pypy at ripton.net> added the comment:

In pypy/translator/c/src/stack.h, MAX_STACK_SIZE is set to 768 kB by default.

Have you tried increasing it before translating?

I recall similar hackery being necessary to get really deep recursion in CPython
without risking segfaults, though it sounds like they've increased the defaults
since the last time I tried.

----------
nosy: +dripton
status: unread -> chatting

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1186>
________________________________________


More information about the pypy-issue mailing list