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 christian.heimes
Recipients christian.heimes, pitrou, python-dev
Date 2012-12-02.06:59:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1354431565.72.0.614787791808.issue16592@psf.upfronthosting.co.za>
In-reply-to
Content
Antoine, on Unix you can restrict the address space of a program to test the issue without almost crashing and OOMing your box. ;)

>>> import resource
>>> resource.setrlimit(resource.RLIMIT_AS, (1024*1024*100, 1024*1024*100))
>>> l = [b''] * (100*1024*70)
>>> d = b''.join(l)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
MemoryError

I wonder why I don't see a memory error in Python 3.3 or earlier. Any idea?
History
Date User Action Args
2012-12-02 06:59:25christian.heimessetrecipients: + christian.heimes, pitrou, python-dev
2012-12-02 06:59:25christian.heimessetmessageid: <1354431565.72.0.614787791808.issue16592@psf.upfronthosting.co.za>
2012-12-02 06:59:25christian.heimeslinkissue16592 messages
2012-12-02 06:59:25christian.heimescreate