java.lang.OutOfMemoryError: Java heap space

Pentaho BI Platform Tracking | Michele | 5 years ago
  1. 0

    I have set up a transformation to create multiple output file. If I use the Microsoft Excel Output step and select the xls option, then my transformation (job) runs fine. If I select the xlxs option, then I have the following error: 2011/08/08 10:08:27 - Change Sequence.0 - Finished processing (I=0, O=0, R=15079, W=15079, U=0, E=0) 2011/08/08 10:12:09 - Microsoft Excel Writer.0 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : UnexpectedError: 2011/08/08 10:12:09 - Microsoft Excel Writer.0 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : java.lang.OutOfMemoryError: Java heap space 2011/08/08 10:12:09 - Microsoft Excel Writer.0 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : at java.util.Arrays.copyOf(Unknown Source) 2011/08/08 10:12:09 - Microsoft Excel Writer.0 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : at java.io.ByteArrayOutputStream.grow(Unknown Source) 2011/08/08 10:12:09 - Microsoft Excel Writer.0 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : at java.io.ByteArrayOutputStream.ensureCapacity(Unknown Source) 2011/08/08 10:12:09 - Microsoft Excel Writer.0 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : at java.io.ByteArrayOutputStream.write(Unknown Source) 2011/08/08 10:12:09 - Microsoft Excel Writer.0 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : at org.apache.poi.openxml4j.opc.internal.MemoryPackagePartOutputStream.write(MemoryPackagePartOutputStream.java:88) 2011/08/08 10:12:09 - Microsoft Excel Writer.0 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : at org.apache.xmlbeans.impl.store.Cursor._save(Cursor.java:590) 2011/08/08 10:12:09 - Microsoft Excel Writer.0 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : at org.apache.xmlbeans.impl.store.Cursor.save(Cursor.java:2544) 2011/08/08 10:12:09 - Microsoft Excel Writer.0 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : at org.apache.xmlbeans.impl.values.XmlObjectBase.save(XmlObjectBase.java:212) 2011/08/08 10:12:09 - Microsoft Excel Writer.0 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : at org.apache.poi.xssf.usermodel.XSSFSheet.write(XSSFSheet.java:2480) 2011/08/08 10:12:09 - Microsoft Excel Writer.0 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : at org.apache.poi.xssf.usermodel.XSSFSheet.commit(XSSFSheet.java:2439) 2011/08/08 10:12:09 - Microsoft Excel Writer.0 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : at org.apache.poi.POIXMLDocumentPart.onSave(POIXMLDocumentPart.java:196) 2011/08/08 10:12:09 - Microsoft Excel Writer.0 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : at org.apache.poi.POIXMLDocumentPart.onSave(POIXMLDocumentPart.java:200) 2011/08/08 10:12:09 - Microsoft Excel Writer.0 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : at org.apache.poi.POIXMLDocument.write(POIXMLDocument.java:204) 2011/08/08 10:12:09 - Microsoft Excel Writer.0 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : at org.pentaho.di.trans.steps.excelwriter.ExcelWriterStep.closeOutputFile(ExcelWriterStep.java:204) 2011/08/08 10:12:09 - Microsoft Excel Writer.0 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : at org.pentaho.di.trans.steps.excelwriter.ExcelWriterStep.processRow(ExcelWriterStep.java:168) 2011/08/08 10:12:09 - Microsoft Excel Writer.0 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : at org.pentaho.di.trans.step.RunThread.run(RunThread.java:40) 2011/08/08 10:12:09 - Microsoft Excel Writer.0 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : at java.lang.Thread.run(Unknown Source) 2011/08/08 10:12:09 - Microsoft Excel Writer.0 - Finished processing (I=0, O=15080, R=15079, W=15079, U=0, E=1) 2011/08/08 10:12:09 - 16 Output v5 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : Errors detected! 2011/08/08 10:12:09 - 16 Output v5 - 16 Output v5 2011/08/08 10:12:09 - 16 Output v5 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : Errors detected! 2011/08/08 10:12:09 - 16 Output v5 - 16 Output v5 2011/08/08 10:12:31 - 06 - EmailPropagator Output v5 - Finished job entry [16 Output v5] (result=[false])

    Pentaho BI Platform Tracking | 5 years ago | Michele
    java.lang.OutOfMemoryError: Java heap space
  2. 0

    I have set up a transformation to create multiple output file. If I use the Microsoft Excel Output step and select the xls option, then my transformation (job) runs fine. If I select the xlxs option, then I have the following error: 2011/08/08 10:08:27 - Change Sequence.0 - Finished processing (I=0, O=0, R=15079, W=15079, U=0, E=0) 2011/08/08 10:12:09 - Microsoft Excel Writer.0 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : UnexpectedError: 2011/08/08 10:12:09 - Microsoft Excel Writer.0 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : java.lang.OutOfMemoryError: Java heap space 2011/08/08 10:12:09 - Microsoft Excel Writer.0 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : at java.util.Arrays.copyOf(Unknown Source) 2011/08/08 10:12:09 - Microsoft Excel Writer.0 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : at java.io.ByteArrayOutputStream.grow(Unknown Source) 2011/08/08 10:12:09 - Microsoft Excel Writer.0 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : at java.io.ByteArrayOutputStream.ensureCapacity(Unknown Source) 2011/08/08 10:12:09 - Microsoft Excel Writer.0 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : at java.io.ByteArrayOutputStream.write(Unknown Source) 2011/08/08 10:12:09 - Microsoft Excel Writer.0 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : at org.apache.poi.openxml4j.opc.internal.MemoryPackagePartOutputStream.write(MemoryPackagePartOutputStream.java:88) 2011/08/08 10:12:09 - Microsoft Excel Writer.0 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : at org.apache.xmlbeans.impl.store.Cursor._save(Cursor.java:590) 2011/08/08 10:12:09 - Microsoft Excel Writer.0 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : at org.apache.xmlbeans.impl.store.Cursor.save(Cursor.java:2544) 2011/08/08 10:12:09 - Microsoft Excel Writer.0 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : at org.apache.xmlbeans.impl.values.XmlObjectBase.save(XmlObjectBase.java:212) 2011/08/08 10:12:09 - Microsoft Excel Writer.0 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : at org.apache.poi.xssf.usermodel.XSSFSheet.write(XSSFSheet.java:2480) 2011/08/08 10:12:09 - Microsoft Excel Writer.0 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : at org.apache.poi.xssf.usermodel.XSSFSheet.commit(XSSFSheet.java:2439) 2011/08/08 10:12:09 - Microsoft Excel Writer.0 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : at org.apache.poi.POIXMLDocumentPart.onSave(POIXMLDocumentPart.java:196) 2011/08/08 10:12:09 - Microsoft Excel Writer.0 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : at org.apache.poi.POIXMLDocumentPart.onSave(POIXMLDocumentPart.java:200) 2011/08/08 10:12:09 - Microsoft Excel Writer.0 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : at org.apache.poi.POIXMLDocument.write(POIXMLDocument.java:204) 2011/08/08 10:12:09 - Microsoft Excel Writer.0 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : at org.pentaho.di.trans.steps.excelwriter.ExcelWriterStep.closeOutputFile(ExcelWriterStep.java:204) 2011/08/08 10:12:09 - Microsoft Excel Writer.0 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : at org.pentaho.di.trans.steps.excelwriter.ExcelWriterStep.processRow(ExcelWriterStep.java:168) 2011/08/08 10:12:09 - Microsoft Excel Writer.0 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : at org.pentaho.di.trans.step.RunThread.run(RunThread.java:40) 2011/08/08 10:12:09 - Microsoft Excel Writer.0 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : at java.lang.Thread.run(Unknown Source) 2011/08/08 10:12:09 - Microsoft Excel Writer.0 - Finished processing (I=0, O=15080, R=15079, W=15079, U=0, E=1) 2011/08/08 10:12:09 - 16 Output v5 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : Errors detected! 2011/08/08 10:12:09 - 16 Output v5 - 16 Output v5 2011/08/08 10:12:09 - 16 Output v5 - ERROR (version 4.2.0-RC1, build 15366 from 2011-06-14 12.04.35 by buildguy) : Errors detected! 2011/08/08 10:12:09 - 16 Output v5 - 16 Output v5 2011/08/08 10:12:31 - 06 - EmailPropagator Output v5 - Finished job entry [16 Output v5] (result=[false])

    Pentaho BI Platform Tracking | 5 years ago | Michele
    java.lang.OutOfMemoryError: Java heap space
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GitHub comment 32#5598227

    GitHub | 5 years ago | mtwestra
    java.lang.OutOfMemoryError: Java heap space
  5. 0

    GitHub comment 32#5598697

    GitHub | 5 years ago | cfagiani
    java.lang.OutOfMemoryError: Java heap space

    8 unregistered visitors
    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 java.util.Arrays.copyOf()
    2. Java RT
      ByteArrayOutputStream.write
      1. java.util.Arrays.copyOf(Unknown Source)
      2. java.io.ByteArrayOutputStream.grow(Unknown Source)
      3. java.io.ByteArrayOutputStream.ensureCapacity(Unknown Source)
      4. java.io.ByteArrayOutputStream.write(Unknown Source)
      4 frames
    3. Apache POI
      MemoryPackagePartOutputStream.write
      1. org.apache.poi.openxml4j.opc.internal.MemoryPackagePartOutputStream.write(MemoryPackagePartOutputStream.java:88)
      1 frame
    4. XmlBeans
      XmlObjectBase.save
      1. org.apache.xmlbeans.impl.store.Cursor._save(Cursor.java:590)
      2. org.apache.xmlbeans.impl.store.Cursor.save(Cursor.java:2544)
      3. org.apache.xmlbeans.impl.values.XmlObjectBase.save(XmlObjectBase.java:212)
      3 frames
    5. Apache POI
      XSSFSheet.commit
      1. org.apache.poi.xssf.usermodel.XSSFSheet.write(XSSFSheet.java:2480)
      2. org.apache.poi.xssf.usermodel.XSSFSheet.commit(XSSFSheet.java:2439)
      2 frames
    6. POI
      POIXMLDocument.write
      1. org.apache.poi.POIXMLDocumentPart.onSave(POIXMLDocumentPart.java:196)
      2. org.apache.poi.POIXMLDocumentPart.onSave(POIXMLDocumentPart.java:200)
      3. org.apache.poi.POIXMLDocument.write(POIXMLDocument.java:204)
      3 frames
    7. org.pentaho.di
      RunThread.run
      1. org.pentaho.di.trans.steps.excelwriter.ExcelWriterStep.closeOutputFile(ExcelWriterStep.java:204)
      2. org.pentaho.di.trans.steps.excelwriter.ExcelWriterStep.processRow(ExcelWriterStep.java:168)
      3. org.pentaho.di.trans.step.RunThread.run(RunThread.java:40)
      3 frames
    8. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame