java.lang.OutOfMemoryError: Java heap space

GitHub | kakadikrishna | 2 months 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

    Write Huge Excel file (.Xlsx) POI and Java - java.lang.OutOfMemoryError: Java heap space

    Coderanch | 4 years ago | Julio leopard banderas
    java.lang.OutOfMemoryError: Java heap space
  2. 0

    GitHub comment 73#274736876

    GitHub | 2 months ago | kakadikrishna
    java.lang.OutOfMemoryError: Java heap space
  3. 0

    outofmemoryerror when running jar but not when running in netbeans/ apache poi

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

    Automated exception search integrated into your IDE

  5. 0

    Exception while reading excel files using apache poi

    Stack Overflow | 3 years ago | user3766749
    java.lang.OutOfMemoryError: GC overhead limit exceeded

    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.xmlbeans.impl.store.Saver$TextSaver.resize()
    2. XmlBeans
      XmlObjectBase.xmlText
      1. org.apache.xmlbeans.impl.store.Saver$TextSaver.resize(Saver.java:1700)
      2. org.apache.xmlbeans.impl.store.Saver$TextSaver.preEmit(Saver.java:1303)
      3. org.apache.xmlbeans.impl.store.Saver$TextSaver.emit(Saver.java:1190)
      4. org.apache.xmlbeans.impl.store.Saver$TextSaver.emitElement(Saver.java:962)
      5. org.apache.xmlbeans.impl.store.Saver.processElement(Saver.java:476)
      6. org.apache.xmlbeans.impl.store.Saver.process(Saver.java:307)
      7. org.apache.xmlbeans.impl.store.Saver$TextSaver.saveToString(Saver.java:1864)
      8. org.apache.xmlbeans.impl.store.Cursor._xmlText(Cursor.java:546)
      9. org.apache.xmlbeans.impl.store.Cursor.xmlText(Cursor.java:2436)
      10. org.apache.xmlbeans.impl.values.XmlObjectBase.xmlText(XmlObjectBase.java:1500)
      10 frames
    3. Apache POI
      XSSFReader.getSharedStringsTable
      1. org.apache.poi.xssf.model.SharedStringsTable.getKey(SharedStringsTable.java:134)
      2. org.apache.poi.xssf.model.SharedStringsTable.readFrom(SharedStringsTable.java:124)
      3. org.apache.poi.xssf.model.SharedStringsTable.<init>(SharedStringsTable.java:106)
      4. org.apache.poi.xssf.eventusermodel.XSSFReader.getSharedStringsTable(XSSFReader.java:82)
      4 frames
    4. com.monitorjbl.xlsx
      StreamingReader$Builder.open
      1. com.monitorjbl.xlsx.impl.StreamingWorkbookReader.init(StreamingWorkbookReader.java:104)
      2. com.monitorjbl.xlsx.impl.StreamingWorkbookReader.init(StreamingWorkbookReader.java:80)
      3. com.monitorjbl.xlsx.StreamingReader$Builder.open(StreamingReader.java:228)
      3 frames
    5. nl.planon.morpheus
      TestExcelReader.main
      1. nl.planon.morpheus.pnworkers.server.excelworker.excel.TestExcelReader.readExcel(TestExcelReader.java:45)
      2. nl.planon.morpheus.pnworkers.server.excelworker.excel.TestExcelReader.main(TestExcelReader.java:25)
      2 frames