-
Bug
-
Resolution: Fixed
-
Medium
-
5.8.2, 5.8.4
-
None
-
Java 8
Problem Definition
Default Java metaspace defined in the Confluence system properties is too small. Support has received multiple tickets from user instances that hang or crash after upgrading to 5.8.x, and a similar error is displayed in the logs:
2015-06-10 10:02:05,782 ERROR [scheduler_Worker-10] [org.quartz.core.ErrorLogger] schedulerError Job (DEFAULT.IndexQueueFlusher threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.OutOfMemoryError: Metaspace] at org.quartz.core.JobRunShell.run(JobRunShell.java:234) at com.atlassian.confluence.schedule.quartz.ConfluenceQuartzThreadPool.lambda$runInThread$46(ConfluenceQuartzThreadPool.java:19) at com.atlassian.confluence.schedule.quartz.ConfluenceQuartzThreadPool$$Lambda$91/1891777742.run(Unknown Source) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549) Caused by: java.lang.OutOfMemoryError: Metaspace
Suggested Solution
Set the default Java metaspace as -XX:MaxMetaspaceSize=384m or higher in the CATALINA_OPTS, or do not include a -XX:MaxMetaspaceSize since the JVM will allocate it as needed.
See KB : Confluence crashes due to 'java.lang.OutOfMemoryError Metaspace' error for more information
- mentioned in
-
Page No Confluence page found with the given URL.
-
Page No Confluence page found with the given URL.
-
Page No Confluence page found with the given URL.
-
Page No Confluence page found with the given URL.
-
Page No Confluence page found with the given URL.
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
Form Name |
---|
[CONFSERVER-37925] Increase or remove default -XX:MaxMetaspaceSize argument
Remote Link | Original: This issue links to "Page (Atlassian Documentation)" [ 157185 ] |
Description |
Original:
h3. Problem Definition
Default Java metaspace defined in the Confluence system properties is too small. Support has received multiple tickets from user instances that hang or crash after upgrading to 5.8.x, and a similar error is displayed in the logs: {noformat} 2015-06-10 10:02:05,782 ERROR [scheduler_Worker-10] [org.quartz.core.ErrorLogger] schedulerError Job (DEFAULT.IndexQueueFlusher threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.OutOfMemoryError: Metaspace] at org.quartz.core.JobRunShell.run(JobRunShell.java:234) at com.atlassian.confluence.schedule.quartz.ConfluenceQuartzThreadPool.lambda$runInThread$46(ConfluenceQuartzThreadPool.java:19) at com.atlassian.confluence.schedule.quartz.ConfluenceQuartzThreadPool$$Lambda$91/1891777742.run(Unknown Source) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549) Caused by: java.lang.OutOfMemoryError: Metaspace {noformat} h3. Suggested Solution ~Set the default Java metaspace as {{-XX:MaxMetaspaceSize=384m}} or higher in the CATALINA_OPTS~, or do not include a {{-XX:MaxMetaspaceSize}} since the JVM will allocate it as needed. See KB : [Confluence crashes due to 'java.lang.OutOfMemoryError Metaspace' error|https://confluence.atlassian.com/display/CONFKB/Confluence+crashes+due+to+'java.lang.OutOfMemoryError+Metaspace'+error] for more information |
New:
h3. Problem Definition
Default Java metaspace defined in the Confluence system properties is too small. Support has received multiple tickets from user instances that hang or crash after upgrading to 5.8.x, and a similar error is displayed in the logs: {noformat} 2015-06-10 10:02:05,782 ERROR [scheduler_Worker-10] [org.quartz.core.ErrorLogger] schedulerError Job (DEFAULT.IndexQueueFlusher threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.OutOfMemoryError: Metaspace] at org.quartz.core.JobRunShell.run(JobRunShell.java:234) at com.atlassian.confluence.schedule.quartz.ConfluenceQuartzThreadPool.lambda$runInThread$46(ConfluenceQuartzThreadPool.java:19) at com.atlassian.confluence.schedule.quartz.ConfluenceQuartzThreadPool$$Lambda$91/1891777742.run(Unknown Source) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549) Caused by: java.lang.OutOfMemoryError: Metaspace {noformat} h3. Suggested Solution -Set the default Java metaspace as {{-XX:MaxMetaspaceSize=384m}} or higher in the CATALINA_OPTS-, or do not include a {{-XX:MaxMetaspaceSize}} since the JVM will allocate it as needed. See KB : [Confluence crashes due to 'java.lang.OutOfMemoryError Metaspace' error|https://confluence.atlassian.com/display/CONFKB/Confluence+crashes+due+to+'java.lang.OutOfMemoryError+Metaspace'+error] for more information |
Description |
Original:
h3. Problem Definition
Default Java metaspace defined in the Confluence system properties is too small. Support has received multiple tickets from user instances that hang or crash after upgrading to 5.8.x, and a similar error is displayed in the logs: {noformat} 2015-06-10 10:02:05,782 ERROR [scheduler_Worker-10] [org.quartz.core.ErrorLogger] schedulerError Job (DEFAULT.IndexQueueFlusher threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.OutOfMemoryError: Metaspace] at org.quartz.core.JobRunShell.run(JobRunShell.java:234) at com.atlassian.confluence.schedule.quartz.ConfluenceQuartzThreadPool.lambda$runInThread$46(ConfluenceQuartzThreadPool.java:19) at com.atlassian.confluence.schedule.quartz.ConfluenceQuartzThreadPool$$Lambda$91/1891777742.run(Unknown Source) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549) Caused by: java.lang.OutOfMemoryError: Metaspace {noformat} h3. Suggested Solution Set the default Java metaspace as {{-XX:MaxMetaspaceSize=384m}} or higher in the CATALINA_OPTS, or do not include a {{-XX:MaxMetaspaceSize}} since the JVM will allocate it as needed. See KB : [Confluence crashes due to 'java.lang.OutOfMemoryError Metaspace' error|https://confluence.atlassian.com/display/CONFKB/Confluence+crashes+due+to+'java.lang.OutOfMemoryError+Metaspace'+error] for more information |
New:
h3. Problem Definition
Default Java metaspace defined in the Confluence system properties is too small. Support has received multiple tickets from user instances that hang or crash after upgrading to 5.8.x, and a similar error is displayed in the logs: {noformat} 2015-06-10 10:02:05,782 ERROR [scheduler_Worker-10] [org.quartz.core.ErrorLogger] schedulerError Job (DEFAULT.IndexQueueFlusher threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.OutOfMemoryError: Metaspace] at org.quartz.core.JobRunShell.run(JobRunShell.java:234) at com.atlassian.confluence.schedule.quartz.ConfluenceQuartzThreadPool.lambda$runInThread$46(ConfluenceQuartzThreadPool.java:19) at com.atlassian.confluence.schedule.quartz.ConfluenceQuartzThreadPool$$Lambda$91/1891777742.run(Unknown Source) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549) Caused by: java.lang.OutOfMemoryError: Metaspace {noformat} h3. Suggested Solution ~Set the default Java metaspace as {{-XX:MaxMetaspaceSize=384m}} or higher in the CATALINA_OPTS~, or do not include a {{-XX:MaxMetaspaceSize}} since the JVM will allocate it as needed. See KB : [Confluence crashes due to 'java.lang.OutOfMemoryError Metaspace' error|https://confluence.atlassian.com/display/CONFKB/Confluence+crashes+due+to+'java.lang.OutOfMemoryError+Metaspace'+error] for more information |
Workflow | Original: JAC Bug Workflow v3 [ 2903849 ] | New: CONFSERVER Bug Workflow v4 [ 2998177 ] |
Workflow | Original: JAC Bug Workflow v2 [ 2784142 ] | New: JAC Bug Workflow v3 [ 2903849 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Workflow | Original: JAC Bug Workflow [ 2714364 ] | New: JAC Bug Workflow v2 [ 2784142 ] |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2395077 ] | New: JAC Bug Workflow [ 2714364 ] |
Labels | Original: affects-server bugfix installer loyalty | New: affects-server installer loyalty |
Labels | Original: affects-server bugfix installer | New: affects-server bugfix installer loyalty |
Workflow | Original: Confluence Workflow - Public Facing - Restricted v5 [ 2290820 ] | New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2395077 ] |