[PyPy-issue] [issue619] Easier tuning/configuration of GC

Martijn pypy-dev-issue at codespeak.net
Thu Jan 6 11:01:42 CET 2011


New submission from Martijn <ss at kleptog.org>:

We're looking at using PyPy for a project because of the performance benefit but
the memory usage is a problem. CPython uses 3GB for this program. PyPy goes
twice as fast so I expect twice as much, but in fact it grows to 12GB and
doesn't stop growing.

Reading the docs it appears that the GC will wait until 50% of memory is freed
before it does a sweep. This amounts to several GB of memory wasted. It would be
nice to be able to make the GC more aggressive, but AFAICS any tuning needs to
be done at translate time, rather than as runtime config.

Not sure what information would be helpful. About the only special thing is that
it's a data processing system that allocates and frees on the order of 5MB of
data per second. Only a very small portion of that is kept for a longer period.

----------
effort: ???
messages: 2050
nosy: kleptog, pypy-issue
priority: feature
release: ???
status: unread
title: Easier tuning/configuration of GC

_______________________________________________________
PyPy development tracker <pypy-dev-issue at codespeak.net>
<https://codespeak.net/issue/pypy-dev/issue619>
_______________________________________________________



More information about the Pypy-issue mailing list