3 ms·
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://ww
by sillystuff 4y ago
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-accounting https://www.kernel.org/doc/Documentation/vm/overcommit-accou...
- orra 4y agoGood 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.