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

" If you are a desktop machine and run out of memory, don’t try to recover from the panic, quit the program or even shut-down the computer."

Taken at face value and without additional context, this statement displays an appalling lack of respect for the user.




It would seem that the clarification in parent agrees:

> On desktop applications that I have worked on (I know this does not apply to all), if we did run out of memory, the better option is to just crash rather than try to recover. But of course some applications cannot do this, especially when dealing with third-party programs, such as databases (as you state). In those cases, the best you can do is empirically test how much is required and gracefully handle those cases when you do OOM (if possible). That's part of your problem, it's not an external thing. If you can control things, try to.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: