This week's book giveaway is in the Programmer Certification forum.
We're giving away four copies of OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide: Exam 1Z0-815 and have Jeanne Boyarsky & Scott Selikoff on-line!
See this thread for details.
Win a copy of OCP Oracle Certified Professional Java SE 11 Programmer I Study Guide: Exam 1Z0-815 this week in the Programmer Certification forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Paweł Baczyński
  • Piet Souris
  • Vijitha Kumara

java.lang.OutOfMemoryError using Apache POI.jar

 
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.
 
If you're gonna buy things, buy this thing and I get a fat kickback:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!