News for hackers. Stuff that matters.
Re:I disagree with Linus Torvalds about C++ (2009) by monocasa on Monday December 24, 2018 @07:59AM (#18751924)
In practice they don't on a lot systems. Last time I checked glibc baked in Linux's overcommit by default nonsense, just throws up it's hands and says 'malloc never fails'.
Re:I disagree with Linus Torvalds about C++ (2009) by vbezhenar on Monday December 24, 2018 @08:42AM (#18752069)
That's not exactly correct. You can set ulimit and malloc will happily fail. And ulimit is pretty standard tool.
Re:I disagree with Linus Torvalds about C++ (2009) by monocasa on Monday December 24, 2018 @10:39AM (#18752584)
ulimit on the resident set size hasn't worked since the Linux 2.4 days