|
|
Subscribe / Log in / New account

The "too small to fail" memory-allocation rule

The "too small to fail" memory-allocation rule

Posted Dec 25, 2014 19:07 UTC (Thu) by fw (subscriber, #26023)
In reply to: The "too small to fail" memory-allocation rule by ibukanov
Parent article: The "too small to fail" memory-allocation rule

OutOfMemoryError is an VirtualMachineError, not an exception. You can catch it, but the specification about that error says it indicates “the Java Virtual Machine is broken or has run out of resources necessary for it to continue operating”, i.e., VM restart is required. So even formally, you cannot recover from it.


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds