Message217295
On my laptop (x86-64, Linux 3.13, 12 GB RAM):
$ python3 -c "[i for i in range(999999999)]"
zsh: killed python3 -c "[i for i in range(999999999)]"
$ dmesg | tail -n 2
[404714.401901] Out of memory: Kill process 10752 (python3) score 687 or sacrifice child
[404714.401903] Killed process 10752 (python3) total-vm:17061508kB, anon-rss:10559004kB, file-rss:52kB
And your test.py produces the same result. Are you sure you don't have a ulimit set on address space? |
|
Date |
User |
Action |
Args |
2014-04-27 17:41:49 | njs | set | recipients:
+ njs, pitrou, vstinner, skrah, neologix, jtaylor, josh.r |
2014-04-27 17:41:49 | njs | set | messageid: <1398620509.5.0.0569535389024.issue21233@psf.upfronthosting.co.za> |
2014-04-27 17:41:49 | njs | link | issue21233 messages |
2014-04-27 17:41:48 | njs | create | |
|