If it's Linux, the allocation will succeed but the OOM killer will pick a victim.
Evil version: just allocate 2**16-1 and assume no sane allocator would dare use that last byte in the segment for anything else.
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.