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

> Linux doesn't lie

Until you ask it to allocate some memory.



echo 2 > /proc/sys/vm/overcommit_memory

But be warned, a lot of applications also lie on how much memory they need.


It's mostly about copy-on-write memory due to forks.


> allocate some memory.

Think of it as allocating address space, not memory.




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

Search: