Message199428
This issue is maybe a new usecase of the PEP 445.
Try attached Python module fatalmalloc.c, use attached setup.py script to build it.
$ python3.4 -c 'import fatalmalloc; x="x"*(50*1024*1024); print(len(x))'
Traceback (most recent call last):
File "<string>", line 1, in <module>
MemoryError
$ python3.4 -c 'import fatalmalloc; fatalmalloc.enable(); x="x"*(50*1024*1024)'
$ echo $?
1 |
|
Date |
User |
Action |
Args |
2013-10-10 23:11:03 | vstinner | set | recipients:
+ vstinner, gvanrossum, barry, jcea, ctheune, pitrou, christian.heimes, benjamin.peterson, ebfe, hynek |
2013-10-10 23:11:03 | vstinner | set | messageid: <1381446663.51.0.495607109429.issue16381@psf.upfronthosting.co.za> |
2013-10-10 23:11:03 | vstinner | link | issue16381 messages |
2013-10-10 23:11:03 | vstinner | create | |
|