Hi Grzegorz, On Fri, Jun 15, 2012 at 1:22 PM, Grzegorz Rudnicki <grzegorz-rudnic...@wp.pl> wrote: > I tested this code on Linux and CPython use 7.8 MB RAM, but Pypy use 14.5 MB > RAM.
That's expected: PyPy uses more memory than CPython in general, with the exception of programs using a lot of instances --- instances are more compact in PyPy than in CPython. Moreover, there is a large "base size" of some MBs in PyPy. You need programs consuming a lot more than 7.8MB to see a possible memory benefit in PyPy, just like you need programs running for much more than 0.1 seconds to see speed benefits. A bientôt, Armin. _______________________________________________ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev