java.lang.OutOfMemoryError: Java heap space

Atlassian JIRA | Tom Davies [Atlassian] | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    An OOME during a restore doesn't give an indication in the UI -- the elapsed time keeps updating, but the percentage complete doesn't change. Error reported were: {noformat} 2011-08-23 10:09:22,730 JiraImportTaskExecutionThread-1 INFO admin 601x38x1 2l9e36 0:0:0:0:0:0:0:1%0 /secure/admin/XmlRestore.jspa [jira.bc.dataimport.DefaultDataImportService] Importing data is 31% complete... Aug 23, 2011 10:18:14 AM org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor processChildren SEVERE: Exception invoking periodic operation: java.lang.OutOfMemoryError: Java heap space at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:139) at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1385) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1649) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1658) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1638) at java.lang.Thread.run(Thread.java:680) Aug 23, 2011 10:29:19 AM org.apache.jasper.compiler.JspReader pushFile SEVERE: Exception parsing file java.lang.OutOfMemoryError: Java heap space java.lang.OutOfMemoryError: Java heap space 2011-08-23 10:32:06,079 pool-6-thread-1 ERROR admin 601x38x1 2l9e36 0:0:0:0:0:0:0:1%0 /secure/admin/XmlRestore.jspa [jira.action.admin.OfbizImportHandler] Exception importing entity: java.lang.OutOfMemoryError: Java heap space java.lang.OutOfMemoryError: Java heap space Exception in thread "pool-6-thread-1" java.lang.OutOfMemoryError: Java heap space 2011-08-23 10:34:43,817 http-8080-4 ERROR [500ErrorPage.jsp] Exception caught in 500 page Java heap space java.lang.OutOfMemoryError: Java heap space at org.apache.velocity.runtime.parser.VelocityCharStream.<init>(VelocityCharStream.java:286) at org.apache.velocity.runtime.parser.VelocityCharStream.<init>(VelocityCharStream.java:320) at org.apache.velocity.runtime.parser.VelocityCharStream.<init>(VelocityCharStream.java:325) at org.apache.velocity.runtime.parser.Parser.<init>(Parser.java:93) at org.apache.velocity.runtime.RuntimeInstance.createNewParser(RuntimeInstance.java:636) at org.apache.velocity.runtime.RuntimeInstance.initializeParserPool(RuntimeInstance.java:623) at org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:201) at org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:420) at org.apache.velocity.app.VelocityEngine.init(VelocityEngine.java:100) at com.atlassian.jira.web.filters.JiraImportProgressFilter.renderView(JiraImportProgressFilter.java:157) at com.atlassian.jira.web.filters.JiraImportProgressFilter.doFilter(JiraImportProgressFilter.java:132) at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:554) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:680) 2011-08-23 10:34:43,819 http-8080-1 ERROR [500ErrorPage.jsp] Exception caught in 500 page Java heap space java.lang.OutOfMemoryError: Java heap space {noformat}

    Atlassian JIRA | 6 years ago | Tom Davies [Atlassian]
    java.lang.OutOfMemoryError: Java heap space
  2. 0

    An OOME during a restore doesn't give an indication in the UI -- the elapsed time keeps updating, but the percentage complete doesn't change. Error reported were: {noformat} 2011-08-23 10:09:22,730 JiraImportTaskExecutionThread-1 INFO admin 601x38x1 2l9e36 0:0:0:0:0:0:0:1%0 /secure/admin/XmlRestore.jspa [jira.bc.dataimport.DefaultDataImportService] Importing data is 31% complete... Aug 23, 2011 10:18:14 AM org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor processChildren SEVERE: Exception invoking periodic operation: java.lang.OutOfMemoryError: Java heap space at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:139) at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1385) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1649) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1658) at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1638) at java.lang.Thread.run(Thread.java:680) Aug 23, 2011 10:29:19 AM org.apache.jasper.compiler.JspReader pushFile SEVERE: Exception parsing file java.lang.OutOfMemoryError: Java heap space java.lang.OutOfMemoryError: Java heap space 2011-08-23 10:32:06,079 pool-6-thread-1 ERROR admin 601x38x1 2l9e36 0:0:0:0:0:0:0:1%0 /secure/admin/XmlRestore.jspa [jira.action.admin.OfbizImportHandler] Exception importing entity: java.lang.OutOfMemoryError: Java heap space java.lang.OutOfMemoryError: Java heap space Exception in thread "pool-6-thread-1" java.lang.OutOfMemoryError: Java heap space 2011-08-23 10:34:43,817 http-8080-4 ERROR [500ErrorPage.jsp] Exception caught in 500 page Java heap space java.lang.OutOfMemoryError: Java heap space at org.apache.velocity.runtime.parser.VelocityCharStream.<init>(VelocityCharStream.java:286) at org.apache.velocity.runtime.parser.VelocityCharStream.<init>(VelocityCharStream.java:320) at org.apache.velocity.runtime.parser.VelocityCharStream.<init>(VelocityCharStream.java:325) at org.apache.velocity.runtime.parser.Parser.<init>(Parser.java:93) at org.apache.velocity.runtime.RuntimeInstance.createNewParser(RuntimeInstance.java:636) at org.apache.velocity.runtime.RuntimeInstance.initializeParserPool(RuntimeInstance.java:623) at org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:201) at org.apache.velocity.runtime.RuntimeInstance.init(RuntimeInstance.java:420) at org.apache.velocity.app.VelocityEngine.init(VelocityEngine.java:100) at com.atlassian.jira.web.filters.JiraImportProgressFilter.renderView(JiraImportProgressFilter.java:157) at com.atlassian.jira.web.filters.JiraImportProgressFilter.doFilter(JiraImportProgressFilter.java:132) at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:554) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at java.lang.Thread.run(Thread.java:680) 2011-08-23 10:34:43,819 http-8080-1 ERROR [500ErrorPage.jsp] Exception caught in 500 page Java heap space java.lang.OutOfMemoryError: Java heap space {noformat}

    Atlassian JIRA | 6 years ago | Tom Davies [Atlassian]
    java.lang.OutOfMemoryError: Java heap space
  3. 0

    Servlet: OutOfMemory Error

    Stack Overflow | 3 years ago | JustCause
    java.lang.OutOfMemoryError: Java heap space
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Dataverse application stops responding and only error is Java Heap Space in the logs to help

    Google Groups | 1 year ago | Xavier Tomaszynski
    java.lang.OutOfMemoryError: Java heap space
  6. 0

    java.lang.OutOfMemoryError: Java heap space

    Coderanch | 7 years ago | Phani Raj Kumar
    java.lang.OutOfMemoryError: Java heap space

    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. java.lang.OutOfMemoryError

      Java heap space

      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent()
    2. Glassfish Core
      ContainerBase$ContainerBackgroundProcessor.run
      1. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:139)
      2. org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1385)
      3. org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1649)
      4. org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1658)
      5. org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1638)
      5 frames
    3. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:680)
      1 frame