• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.lang.OutOfMemoryError using Apache POI.jar

 
reddy yeruva
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Iam using Apache POI.jar to generate excel sheet,sheet is successfully creating but after some time in the application server [Websphere] lot of java.lang.OutOfMemoryError's are occuring after that JVM is crashing.

Current heap size of JVM is 756. With out increasing the heap size how to resolve the java.lang.OutOfMemoryError

The following are some classes which i got in JavaCoredump during the OutOfMemoryError time

3CLTEXTCLASS org/apache/poi/hssf/record/BlankRecord(0x1052FA20)
3CLTEXTCLASS org/apache/poi/hpsf/ClassID(0x1053BE40)
3CLTEXTCLASS org/apache/poi/util/ShortField(0x1053C320)
3CLTEXTCLASS org/apache/poi/hssf/record/FnGroupCountRecord(0x1052D7D0)
3CLTEXTCLASS org/apache/poi/poifs/filesystem/DocumentInputStream(0x1052F3D8)
3CLTEXTCLASS org/apache/poi/hssf/record/MergeCellsRecord(0x10527C68)
3CLTEXTCLASS org/apache/poi/poifs/storage/SmallBlockTableWriter(0x1053A718)
3CLTEXTCLASS org/apache/poi/hssf/record/SSTSerializer(0x1053DA48)
3CLTEXTCLASS org/apache/poi/hssf/record/TopMarginRecord(0x10536308)
3CLTEXTCLASS org/apache/poi/hssf/record/DateWindow1904Record(0x1052CCD8)
3CLTEXTCLASS org/apache/poi/hssf/record/ExtSSTInfoSubRecord(0x1053D7D8)
3CLTEXTCLASS org/apache/poi/hssf/usermodel/HSSFRow(0x10535A80)
3CLTEXTCLASS org/apache/poi/hssf/record/PrintHeadersRecord(0x10528D78)
3CLTEXTCLASS org/apache/poi/hssf/record/PColor(0x1052A0F8)
3CLTEXTCLASS [Lorg/apache/poi/poifs/property/Property;(0x1053ABF8)
3CLTEXTCLASS org/apache/poi/ddf/EscherSimpleProperty(0x1052BA90)
3CLTEXTCLASS org/apache/poi/hssf/record/WriteAccessRecord(0x1052DCB0)
3CLTEXTCLASS org/apache/poi/poifs/dev/POIFSViewable(0x1053D2F8)
3CLTEXTCLASS org/apache/poi/hssf/record/LabelSSTRecord(0x1053E678)
3CLTEXTCLASS org/apache/poi/hssf/usermodel/HSSFDataFormat(0x1052A710)
3CLTEXTCLASS org/apache/poi/ddf/EscherDggRecord(0x1052B820)
3CLTEXTCLASS org/apache/poi/poifs/property/PropertyTable(0x1053C6C8)
3CLTEXTCLASS org/apache/poi/hssf/record/aggregates/RowRecordsAggregate(0x105299A8)
3CLTEXTCLASS org/apache/poi/hssf/record/WSBoolRecord(0x10528760)
3CLTEXTCLASS org/apache/poi/hssf/record/WindowTwoRecord(0x10535E28)

Please suggest me how to resolve this problem.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic