[pypy-issue] [issue907] Stacklets running out of memory on higher optimisation levels
tracker at bugs.pypy.org
Sun Oct 16 21:41:00 CEST 2011
Laurence Tratt <laurie at tratt.net> added the comment:
Putting gc.collect in the main VM loop is very interesting. On --opt=1, the
memory used for my simple test program is a smidgen over 1MB, and doesn't
increase from there (it may be that, temporarily it is more than 1MB, but with
such frequent garbage collections, running top at 1s intervals shows it at 1MB).
With --opt=3, the memory monotonically increases until the task eventually blows
up (by garbage collecting so often, this takes several minutes!).
PyPy bug tracker <tracker at bugs.pypy.org>
More information about the pypy-issue