Message97520
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. |
|
Date |
User |
Action |
Args |
2010-01-10 16:32:06 | pitrou | set | recipients:
+ pitrou, skip.montanaro, collinwinter, alexandre.vassalotti, jcsalterego |
2010-01-10 16:32:06 | pitrou | set | messageid: <1263141126.56.0.486462167507.issue5683@psf.upfronthosting.co.za> |
2010-01-10 16:32:04 | pitrou | link | issue5683 messages |
2010-01-10 16:32:04 | pitrou | create | |
|