Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Linux has never forced you to use memory overcommit. You can argue about the default, but the default seems pretty sane for most systems/use cases.

https://www.kernel.org/doc/Documentation/vm/overcommit-accou...



Good to know it's not required, but I'd certainly say it's a bad default. I can understand an app that is denied a malloc crashing.

But an app which thinks it has successfully been allocated memory, being chosen at random to crash? Not ideal, just like in OP's example.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: