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

Unless you have carefully configured your OS, 'out of memory' exceptions are essentially worthless. This is because most systems work using 'optimistic' memory management, where it is not known (or checked) whether there is enough free memory available at the time of the malloc() call. The problem comes later, at any time when a random instruction tries to access the memory and the OS finds that it has no RAM available.


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

Search: