Hacker News new | past | comments | ask | show | jobs | submit login

I'm pretty sure that even if you malloc an enormous amount of memory, it will occupy close to no resources as long as the contents are not touched. Also related: "overcommit memory".



Linux is a bit strange when it comes to memory allocation, see eg:

http://www.win.tue.nl/~aeb/linux/lk/lk-9.html#ss9.6




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

Search: