Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
  • 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

java.lang.OutOfMemoryError using Apache POI.jar

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
I have a knack for fixing things like this ... um ... sorry ... here is a consilitory tiny ad:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic