File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Application Frameworks and the fly likes java.lang.OutOfMemoryError using Apache  POI.jar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Other Application Frameworks
Bookmark "java.lang.OutOfMemoryError using Apache  POI.jar" Watch "java.lang.OutOfMemoryError using Apache  POI.jar" New topic
Author

java.lang.OutOfMemoryError using Apache POI.jar

reddy yeruva
Greenhorn

Joined: Oct 18, 2006
Posts: 18
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.


Y.Tirupati Reddy<br />reddy.yeruva@gmail.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.lang.OutOfMemoryError using Apache POI.jar
 
Similar Threads
Apache POI
Heap Dump Issue POI Jar
Heap Dump Issue POI Jar
Heap Dump Issue POI Jar
Generating protected excel sheets