[pypy-dev] Translating pypy-sandbox eats 13GB of RAM

Armin Rigo arigo at tunes.org
Tue Nov 22 09:51:35 CET 2011


Hi,

On Mon, Nov 21, 2011 at 17:55, David Naylor <naylor.b.david at gmail.com> wrote:
>> While trying to translate pypy-1.7 with the sandbox option, using pypy-1.6
>> I saw the translating pypy consume 13.3GB of memory (column Res in top).
>> This is under FreeBSD-9RC2/amd64.
>
> This isn't specific to the sandbox option.  The default options used also
> cause this memory usage.

PyPy used to contain a bug that causes infinite memory usage in one
particular circumstance (literally -- so in practice, infinite
swapping with no progress).  It so happens that since about one month,
translating a PyPy may trigger it.  This means that in order to
translate a PyPy, you need to run (either CPython or) a version of
PyPy that contains the fix, which was done November 11.


A bientôt,

Armin.


More information about the pypy-dev mailing list