Fatal JVM Crash - 'java.lang.OutOfMemoryError .. Out of Swap Space?'
Confluence (and other applications running on the JVM) become unavailable. Files with names like
hs_err_pid123456.log may be created in the application server's
bin directory (wherever you start it from), containing text like:
This indicates Java has failed to acquire more memory from the operating system.
The hs_err Logs may contain:
- Confluence is running on Java Version 6 Update 18 or higher.
- The Java process isn't even running on the system, and it's been confirmed it was not manually shut down.
- Files named hs_err_pid* exist on the system or there are one or more segmentation fault messages in /var/log/messages.
There are two workaround options:
- Downgrade to Java 6 update 17 or lower.
- Disable the JVM HotSpot Compilation for the class and method that is causing the crash.
In the above example crash log, the compilation crash was caused by the compile task trying to process the class-method:
Add the following to the startup system properties.
Upgrade to Java 6 Update 26 or higher.
Was this helpful?
Thanks for your feedback!