This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients alexandre.vassalotti, collinwinter, jcsalterego, pitrou, skip.montanaro
Date 2010-01-10.16:32:04
SpamBayes Score 0.0026177915
Marked as misclassified No
Message-id <1263141126.56.0.486462167507.issue5683@psf.upfronthosting.co.za>
In-reply-to
Content
Quick test on a 3GB machine:

Without patch ("top" shows the process reaches 1.2GB RAM max):

$ time ./python -c "import cPickle;l=['a'*1024 for i in xrange(1000000)];cPickle.dump(l, open('/dev/null', 'wb'))"
10.67user 1.47system 0:12.92elapsed 93%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (0major+319042minor)pagefaults 0swaps

With the patch, the same command quickly swaps hopelessly and after 5 minutes of elapsed time I finally manage to kill the process.
History
Date User Action Args
2010-01-10 16:32:06pitrousetrecipients: + pitrou, skip.montanaro, collinwinter, alexandre.vassalotti, jcsalterego
2010-01-10 16:32:06pitrousetmessageid: <1263141126.56.0.486462167507.issue5683@psf.upfronthosting.co.za>
2010-01-10 16:32:04pitroulinkissue5683 messages
2010-01-10 16:32:04pitroucreate