Antoine Pitrou <pit...@free.fr> added the comment: 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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5683> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com