Better HN
topnewbestaskshowjobs
Log inSign up

throwaway234890

6 karma · joined Mar 4, 2024 (2y ago) · 1 submissions

Submissions

comment 2y ago · link · parent

Linux supports overcommitted memory and so will lie to your application about memory availability. When I tested several common open-source applications in a memory-constrained environment none of them, except for the Java VM, handled OOM conditions gracefully. I came to the conclusion it's not worth the programming effort unless your application will specifically expect this condition to occur.