org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.OutOfMemoryError: Metaspace]

Atlassian JIRA | Daniel Ponzio [Atlassian] | 1 year ago
  1. 0

    [CONF-37925] Increase or remove default -XX:MaxMetaspaceSize argument - Atlassian JIRA

    atlassian.com | 11 months ago
    org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.OutOfMemoryError: Metaspace]
  2. 0

    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

    Atlassian JIRA | 1 year ago | Daniel Ponzio [Atlassian]
    org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.OutOfMemoryError: Metaspace]
  3. 0

    Confluence crashes due to OutOfMemoryError Metaspace - Atlassian Documentation

    atlassian.com | 5 months ago
    org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.OutOfMemoryError: Metaspace]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    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

    Atlassian JIRA | 1 year ago | Daniel Ponzio [Atlassian]
    org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.OutOfMemoryError: Metaspace]
  6. 0

    GitHub comment 53#159850190

    GitHub | 1 year ago | jprusch
    org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: java.lang.NoClassDefFoundError: org/springframework/ldap/core/DirContextAdapter]

  1. linxiaolong 1 times, last 4 months ago
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.quartz.SchedulerException

    Job threw an unhandled exception. [See nested exception: java.lang.OutOfMemoryError: Metaspace]

    at org.quartz.core.JobRunShell.run()
  2. quartz
    JobRunShell.run
    1. org.quartz.core.JobRunShell.run(JobRunShell.java:234)
    1 frame
  3. com.atlassian.confluence
    ConfluenceQuartzThreadPool.lambda$runInThread$46
    1. com.atlassian.confluence.schedule.quartz.ConfluenceQuartzThreadPool.lambda$runInThread$46(ConfluenceQuartzThreadPool.java:19)
    1 frame