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 pitrou
Recipients josh.r, jtaylor, neologix, njs, pitrou, skrah, vstinner
Date 2014-04-27.18:37:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1398623846.2380.4.camel@fsol>
In-reply-to <CAH_1eM2CSsyTm=SfLT5H47HNxz0hMskur7D0_-ykiRSEcJZvCw@mail.gmail.com>
Content
> $ gcc -o /tmp/test /tmp/test.c; /tmp/test
> malloc() returned NULL after 3050MB
> $ gcc -DDO_MEMSET -o /tmp/test /tmp/test.c; /tmp/test
> malloc() returned NULL after 2130MB
> 
> Without memset, the kernel happily allocates until we reach the 3GB
> user address space limit.
> With memset, it bails out way before.
> 
> I don't know what this'll give on 64-bit, but I assume one should get
> comparable result.

Both OOM here (3.11.0-20-generic, 64-bit, Ubuntu).
History
Date User Action Args
2014-04-27 18:37:28pitrousetrecipients: + pitrou, vstinner, njs, skrah, neologix, jtaylor, josh.r
2014-04-27 18:37:28pitroulinkissue21233 messages
2014-04-27 18:37:28pitroucreate