java.lang.OutOfMemoryError: Java heap space

Pentaho BI Platform Tracking | Jared Pshedesky | 7 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

    I set up our load test system to hit a BI Server with 10 concurrent users over 10 hours to attempt to reproduce a customer issue. Here are the specifics of my configuration: BI Server running on Win XP VMWare VM with 3.21GB virtual RAM, 9.5GB free disk space BI Server Java VM memory options: -Xms512m -Xmx768m -XX:MaxPermSize=512m Load Test running from Win XP 64 bit physical machine with 8GB RAM (not serving up the VM under test) Attaching both the pentaho.log file and the important files for TPC-W to repro the problem. First exception in the Tomcat console was: 2009-09-01 13:14:25,625 ERROR [org.pentaho.platform.plugin.action.jfreereport.JFreeReportComponent] Error Start: Pentaho Pentaho Platform Core 3.0.1-GA.37684 2009-09-01 13:14:25,625 ERROR [org.pentaho.platform.plugin.action.jfreereport.JFreeReportComponent] Error Start: Pentaho Pentaho Platform Core 3.0.1-GA.37684 2009-09-01 13:14:25,718 ERROR [org.pentaho.platform.plugin.action.jfreereport.JFreeReportComponent] 1f275a48-971a-11de-a2ce-31b2a510967d:COMPONENT:context-15244995-1251824931531:Income Statement.xactionBase.ERROR_0002 - Component execution failed java.lang.OutOfMemoryError: Java heap space at com.lowagie.text.Image.getInstance(Image.java:609) at com.lowagie.text.Image.getInstance(Image.java:697) at org.jfree.report.modules.output.pageable.pdf.internal.PdfGraphics2D.drawImage(PdfGraphics2D.java:1614) at org.jfree.report.modules.output.pageable.pdf.internal.PdfGraphics2D.drawImage(PdfGraphics2D.java:223) at org.jfree.report.modules.output.pageable.graphics.internal.LogicalPageDrawable.drawImage(LogicalPageDrawable.java:1125) at org.jfree.report.modules.output.pageable.graphics.internal.LogicalPageDrawable.drawReplacedContent(LogicalPageDrawable.java:961) at org.jfree.report.modules.output.pageable.graphics.internal.LogicalPageDrawable.processOtherNode(LogicalPageDrawable.java:846) at org.jfree.report.layout.process.IterateStructuralProcessStep.startProcessing(IterateStructuralProcessStep.java:115) at org.jfree.report.layout.process.IterateStructuralProcessStep.processBoxChilds(IterateStructuralProcessStep.java:139) at org.jfree.report.layout.process.IterateStructuralProcessStep.startProcessing(IterateStructuralProcessStep.java:61) at org.jfree.report.layout.process.IterateStructuralProcessStep.processBoxChilds(IterateStructuralProcessStep.java:139) at org.jfree.report.layout.process.IterateStructuralProcessStep.startProcessing(IterateStructuralProcessStep.java:61) at org.jfree.report.layout.process.IterateStructuralProcessStep.processBoxChilds(IterateStructuralProcessStep.java:139) at org.jfree.report.layout.process.IterateStructuralProcessStep.startProcessing(IterateStructuralProcessStep.java:100) at org.jfree.report.layout.process.IterateStructuralProcessStep.processBoxChilds(IterateStructuralProcessStep.java:139) at org.jfree.report.layout.process.IterateStructuralProcessStep.startProcessing(IterateStructuralProcessStep.java:100) at org.jfree.report.modules.output.pageable.graphics.internal.LogicalPageDrawable.draw(LogicalPageDrawable.java:388) at org.jfree.report.modules.output.pageable.graphics.internal.PhysicalPageDrawable.draw(PhysicalPageDrawable.java:131) at org.jfree.report.modules.output.pageable.pdf.internal.PdfDocumentWriter.processPhysicalPage(PdfDocumentWriter.java:221) at org.jfree.report.modules.output.pageable.pdf.PdfOutputProcessor.processPhysicalPage(PdfOutputProcessor.java:132) at org.jfree.report.modules.output.pageable.base.AbstractPageableOutputProcessor.processPageContent(AbstractPageableOutputProcessor.java:116) at org.jfree.report.layout.output.AbstractOutputProcessor.processContent(AbstractOutputProcessor.java:177) at org.jfree.report.modules.output.pageable.base.PageableRenderer.performPagination(PageableRenderer.java:137) at org.jfree.report.layout.AbstractRenderer.processPage(AbstractRenderer.java:579) at org.jfree.report.layout.output.AbstractReportProcessor.processPage(AbstractReportProcessor.java:1024) at org.jfree.report.layout.output.AbstractReportProcessor.processReport(AbstractReportProcessor.java:1116) at org.pentaho.platform.plugin.action.jfreereport.JFreeReportComponent.writePdf(JFreeReportComponent.java:1095) at org.pentaho.platform.plugin.action.jfreereport.JFreeReportComponent.writeReport(JFreeReportComponent.java:964) at org.pentaho.platform.plugin.action.jfreereport.JFreeReportComponent.generateReport(JFreeReportComponent.java:917) at org.pentaho.platform.plugin.action.jfreereport.JFreeReportComponent.executeReportAction(JFreeReportComponent.java:313) at org.pentaho.platform.plugin.action.jfreereport.JFreeReportComponent.executeAction(JFreeReportComponent.java:301) at org.pentaho.platform.engine.services.solution.ComponentBase.execute(ComponentBase.java:461) 2009-09-01 13:14:25,718 ERROR [org.pentaho.platform.plugin.action.jfreereport.JFreeReportComponent] 1f275a48-971a-11de-a2ce-31b2a510967d:COMPONENT:context-15244995-1251824931531:Income Statement.xactionBase.ERROR_0002 - Component execution failed

    Pentaho BI Platform Tracking | 7 years ago | Jared Pshedesky
    java.lang.OutOfMemoryError: Java heap space
  2. 0

    I set up our load test system to hit a BI Server with 10 concurrent users over 10 hours to attempt to reproduce a customer issue. Here are the specifics of my configuration: BI Server running on Win XP VMWare VM with 3.21GB virtual RAM, 9.5GB free disk space BI Server Java VM memory options: -Xms512m -Xmx768m -XX:MaxPermSize=512m Load Test running from Win XP 64 bit physical machine with 8GB RAM (not serving up the VM under test) Attaching both the pentaho.log file and the important files for TPC-W to repro the problem. First exception in the Tomcat console was: 2009-09-01 13:14:25,625 ERROR [org.pentaho.platform.plugin.action.jfreereport.JFreeReportComponent] Error Start: Pentaho Pentaho Platform Core 3.0.1-GA.37684 2009-09-01 13:14:25,625 ERROR [org.pentaho.platform.plugin.action.jfreereport.JFreeReportComponent] Error Start: Pentaho Pentaho Platform Core 3.0.1-GA.37684 2009-09-01 13:14:25,718 ERROR [org.pentaho.platform.plugin.action.jfreereport.JFreeReportComponent] 1f275a48-971a-11de-a2ce-31b2a510967d:COMPONENT:context-15244995-1251824931531:Income Statement.xactionBase.ERROR_0002 - Component execution failed java.lang.OutOfMemoryError: Java heap space at com.lowagie.text.Image.getInstance(Image.java:609) at com.lowagie.text.Image.getInstance(Image.java:697) at org.jfree.report.modules.output.pageable.pdf.internal.PdfGraphics2D.drawImage(PdfGraphics2D.java:1614) at org.jfree.report.modules.output.pageable.pdf.internal.PdfGraphics2D.drawImage(PdfGraphics2D.java:223) at org.jfree.report.modules.output.pageable.graphics.internal.LogicalPageDrawable.drawImage(LogicalPageDrawable.java:1125) at org.jfree.report.modules.output.pageable.graphics.internal.LogicalPageDrawable.drawReplacedContent(LogicalPageDrawable.java:961) at org.jfree.report.modules.output.pageable.graphics.internal.LogicalPageDrawable.processOtherNode(LogicalPageDrawable.java:846) at org.jfree.report.layout.process.IterateStructuralProcessStep.startProcessing(IterateStructuralProcessStep.java:115) at org.jfree.report.layout.process.IterateStructuralProcessStep.processBoxChilds(IterateStructuralProcessStep.java:139) at org.jfree.report.layout.process.IterateStructuralProcessStep.startProcessing(IterateStructuralProcessStep.java:61) at org.jfree.report.layout.process.IterateStructuralProcessStep.processBoxChilds(IterateStructuralProcessStep.java:139) at org.jfree.report.layout.process.IterateStructuralProcessStep.startProcessing(IterateStructuralProcessStep.java:61) at org.jfree.report.layout.process.IterateStructuralProcessStep.processBoxChilds(IterateStructuralProcessStep.java:139) at org.jfree.report.layout.process.IterateStructuralProcessStep.startProcessing(IterateStructuralProcessStep.java:100) at org.jfree.report.layout.process.IterateStructuralProcessStep.processBoxChilds(IterateStructuralProcessStep.java:139) at org.jfree.report.layout.process.IterateStructuralProcessStep.startProcessing(IterateStructuralProcessStep.java:100) at org.jfree.report.modules.output.pageable.graphics.internal.LogicalPageDrawable.draw(LogicalPageDrawable.java:388) at org.jfree.report.modules.output.pageable.graphics.internal.PhysicalPageDrawable.draw(PhysicalPageDrawable.java:131) at org.jfree.report.modules.output.pageable.pdf.internal.PdfDocumentWriter.processPhysicalPage(PdfDocumentWriter.java:221) at org.jfree.report.modules.output.pageable.pdf.PdfOutputProcessor.processPhysicalPage(PdfOutputProcessor.java:132) at org.jfree.report.modules.output.pageable.base.AbstractPageableOutputProcessor.processPageContent(AbstractPageableOutputProcessor.java:116) at org.jfree.report.layout.output.AbstractOutputProcessor.processContent(AbstractOutputProcessor.java:177) at org.jfree.report.modules.output.pageable.base.PageableRenderer.performPagination(PageableRenderer.java:137) at org.jfree.report.layout.AbstractRenderer.processPage(AbstractRenderer.java:579) at org.jfree.report.layout.output.AbstractReportProcessor.processPage(AbstractReportProcessor.java:1024) at org.jfree.report.layout.output.AbstractReportProcessor.processReport(AbstractReportProcessor.java:1116) at org.pentaho.platform.plugin.action.jfreereport.JFreeReportComponent.writePdf(JFreeReportComponent.java:1095) at org.pentaho.platform.plugin.action.jfreereport.JFreeReportComponent.writeReport(JFreeReportComponent.java:964) at org.pentaho.platform.plugin.action.jfreereport.JFreeReportComponent.generateReport(JFreeReportComponent.java:917) at org.pentaho.platform.plugin.action.jfreereport.JFreeReportComponent.executeReportAction(JFreeReportComponent.java:313) at org.pentaho.platform.plugin.action.jfreereport.JFreeReportComponent.executeAction(JFreeReportComponent.java:301) at org.pentaho.platform.engine.services.solution.ComponentBase.execute(ComponentBase.java:461) 2009-09-01 13:14:25,718 ERROR [org.pentaho.platform.plugin.action.jfreereport.JFreeReportComponent] 1f275a48-971a-11de-a2ce-31b2a510967d:COMPONENT:context-15244995-1251824931531:Income Statement.xactionBase.ERROR_0002 - Component execution failed

    Pentaho BI Platform Tracking | 7 years ago | Jared Pshedesky
    java.lang.OutOfMemoryError: Java heap space

    Root Cause Analysis

    1. java.lang.OutOfMemoryError

      Java heap space

      at com.lowagie.text.Image.getInstance()
    2. iText-4.2.1
      Image.getInstance
      1. com.lowagie.text.Image.getInstance(Image.java:609)
      2. com.lowagie.text.Image.getInstance(Image.java:697)
      2 frames
    3. org.jfree.report
      AbstractReportProcessor.processReport
      1. org.jfree.report.modules.output.pageable.pdf.internal.PdfGraphics2D.drawImage(PdfGraphics2D.java:1614)
      2. org.jfree.report.modules.output.pageable.pdf.internal.PdfGraphics2D.drawImage(PdfGraphics2D.java:223)
      3. org.jfree.report.modules.output.pageable.graphics.internal.LogicalPageDrawable.drawImage(LogicalPageDrawable.java:1125)
      4. org.jfree.report.modules.output.pageable.graphics.internal.LogicalPageDrawable.drawReplacedContent(LogicalPageDrawable.java:961)
      5. org.jfree.report.modules.output.pageable.graphics.internal.LogicalPageDrawable.processOtherNode(LogicalPageDrawable.java:846)
      6. org.jfree.report.layout.process.IterateStructuralProcessStep.startProcessing(IterateStructuralProcessStep.java:115)
      7. org.jfree.report.layout.process.IterateStructuralProcessStep.processBoxChilds(IterateStructuralProcessStep.java:139)
      8. org.jfree.report.layout.process.IterateStructuralProcessStep.startProcessing(IterateStructuralProcessStep.java:61)
      9. org.jfree.report.layout.process.IterateStructuralProcessStep.processBoxChilds(IterateStructuralProcessStep.java:139)
      10. org.jfree.report.layout.process.IterateStructuralProcessStep.startProcessing(IterateStructuralProcessStep.java:61)
      11. org.jfree.report.layout.process.IterateStructuralProcessStep.processBoxChilds(IterateStructuralProcessStep.java:139)
      12. org.jfree.report.layout.process.IterateStructuralProcessStep.startProcessing(IterateStructuralProcessStep.java:100)
      13. org.jfree.report.layout.process.IterateStructuralProcessStep.processBoxChilds(IterateStructuralProcessStep.java:139)
      14. org.jfree.report.layout.process.IterateStructuralProcessStep.startProcessing(IterateStructuralProcessStep.java:100)
      15. org.jfree.report.modules.output.pageable.graphics.internal.LogicalPageDrawable.draw(LogicalPageDrawable.java:388)
      16. org.jfree.report.modules.output.pageable.graphics.internal.PhysicalPageDrawable.draw(PhysicalPageDrawable.java:131)
      17. org.jfree.report.modules.output.pageable.pdf.internal.PdfDocumentWriter.processPhysicalPage(PdfDocumentWriter.java:221)
      18. org.jfree.report.modules.output.pageable.pdf.PdfOutputProcessor.processPhysicalPage(PdfOutputProcessor.java:132)
      19. org.jfree.report.modules.output.pageable.base.AbstractPageableOutputProcessor.processPageContent(AbstractPageableOutputProcessor.java:116)
      20. org.jfree.report.layout.output.AbstractOutputProcessor.processContent(AbstractOutputProcessor.java:177)
      21. org.jfree.report.modules.output.pageable.base.PageableRenderer.performPagination(PageableRenderer.java:137)
      22. org.jfree.report.layout.AbstractRenderer.processPage(AbstractRenderer.java:579)
      23. org.jfree.report.layout.output.AbstractReportProcessor.processPage(AbstractReportProcessor.java:1024)
      24. org.jfree.report.layout.output.AbstractReportProcessor.processReport(AbstractReportProcessor.java:1116)
      24 frames
    4. org.pentaho.platform
      ComponentBase.execute
      1. org.pentaho.platform.plugin.action.jfreereport.JFreeReportComponent.writePdf(JFreeReportComponent.java:1095)
      2. org.pentaho.platform.plugin.action.jfreereport.JFreeReportComponent.writeReport(JFreeReportComponent.java:964)
      3. org.pentaho.platform.plugin.action.jfreereport.JFreeReportComponent.generateReport(JFreeReportComponent.java:917)
      4. org.pentaho.platform.plugin.action.jfreereport.JFreeReportComponent.executeReportAction(JFreeReportComponent.java:313)
      5. org.pentaho.platform.plugin.action.jfreereport.JFreeReportComponent.executeAction(JFreeReportComponent.java:301)
      6. org.pentaho.platform.engine.services.solution.ComponentBase.execute(ComponentBase.java:461)
      6 frames