• Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 5.8.6
    • 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

          Form Name

            [CONFSERVER-37925] Increase or remove default -XX:MaxMetaspaceSize argument

            Renata Dornelas made changes -
            Remote Link Original: This issue links to "Page (Atlassian Documentation)" [ 157185 ]

            Graham65 added a comment -

            Jira has a closed assignment which includes increasing and decreasing malathion. Here you can get rushessay some important skill about the study. They are providing multiple tickets from user instances that hang or crash after upgrading to 5.8. You can also get their V version. Join it for more.

            Graham65 added a comment - Jira has a closed assignment which includes increasing and decreasing malathion. Here you can get  rushessay some important skill about the study. They are providing multiple tickets from user instances that hang or crash after upgrading to 5.8. You can also get their V version. Join it for more.
            Will Masters made changes -
            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
            Will Masters made changes -
            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
            Katherine Yabut made changes -
            Workflow Original: JAC Bug Workflow v3 [ 2903849 ] New: CONFSERVER Bug Workflow v4 [ 2998177 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2784142 ] New: JAC Bug Workflow v3 [ 2903849 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow [ 2714364 ] New: JAC Bug Workflow v2 [ 2784142 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2395077 ] New: JAC Bug Workflow [ 2714364 ]
            Alex Yakovlev (Inactive) made changes -
            Labels Original: affects-server bugfix installer loyalty New: affects-server installer loyalty
            Alex Yakovlev (Inactive) made changes -
            Labels Original: affects-server bugfix installer New: affects-server bugfix installer loyalty

              briosa Blake Riosa (Inactive)
              dponzio Daniel Ponzio
              Affected customers:
              15 This affects my team
              Watchers:
              32 Start watching this issue

                Created:
                Updated:
                Resolved: