poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Clemens <clemens...@mysign.ch>
Subject Yet another "Out of memory!"
Date Thu, 23 Dec 2010 10:56:16 GMT

Hi all,
I am using POI 3.6.
Find the stackdump attached below. I (unfortunately) don't have the
xlsx-file which "caused" the OOM. If I read the heap dump correctly the file
was approx. 6M. The heap dump also reveals an instance of opc.ZipPackage,
i.e. the content was/is zipped (right?). Is this a "normal" OOM others have
reported with POI, or could it possibly be due to special content in the
xlsx-file?

Does POI 3.7 "help"?

Thx
Clemens

2010-12-22 14:29:28,189 ERROR ch.mysign.cms.mapping.MapperServlet - Out of
memory!
java.lang.OutOfMemoryError: Java heap space
        at
org.apache.xmlbeans.impl.store.Cur.createElementXobj(Cur.java:257)
        at
org.apache.xmlbeans.impl.store.Cur$CurLoadContext.startElement(Cur.java:2992)
        at
org.apache.xmlbeans.impl.store.Locale$SaxHandler.startElement(Locale.java:3198)
        at
org.apache.xmlbeans.impl.piccolo.xml.Piccolo.reportStartTag(Piccolo.java:1082)
        at
org.apache.xmlbeans.impl.piccolo.xml.PiccoloLexer.parseAttributesNS(PiccoloLexer.java:1802)
        at
org.apache.xmlbeans.impl.piccolo.xml.PiccoloLexer.parseOpenTagNS(PiccoloLexer.java:1521)
        at
org.apache.xmlbeans.impl.piccolo.xml.PiccoloLexer.parseTagNS(PiccoloLexer.java:1362)
        at
org.apache.xmlbeans.impl.piccolo.xml.PiccoloLexer.parseXMLNS(PiccoloLexer.java:1293)
        at
org.apache.xmlbeans.impl.piccolo.xml.PiccoloLexer.parseXML(PiccoloLexer.java:1261)
        at
org.apache.xmlbeans.impl.piccolo.xml.PiccoloLexer.yylex(PiccoloLexer.java:4808)
        at
org.apache.xmlbeans.impl.piccolo.xml.Piccolo.yylex(Piccolo.java:1290)
        at
org.apache.xmlbeans.impl.piccolo.xml.Piccolo.yyparse(Piccolo.java:1400)
        at
org.apache.xmlbeans.impl.piccolo.xml.Piccolo.parse(Piccolo.java:714)
        at
org.apache.xmlbeans.impl.store.Locale$SaxLoader.load(Locale.java:3439)
        at
org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1270)
        at
org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:1257)
        at
org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:345)
        at
org.openxmlformats.schemas.spreadsheetml.x2006.main.WorksheetDocument$Factory.parse(Unknown
Source)
        at org.apache.poi.xssf.usermodel.XSSFSheet.read(XSSFSheet.java:127)
        at
org.apache.poi.xssf.usermodel.XSSFSheet.onDocumentRead(XSSFSheet.java:119)
        at
org.apache.poi.xssf.usermodel.XSSFWorkbook.onDocumentRead(XSSFWorkbook.java:222)
        at org.apache.poi.POIXMLDocument.load(POIXMLDocument.java:200)
        at
org.apache.poi.xssf.usermodel.XSSFWorkbook.<init>(XSSFWorkbook.java:172)
        at
org.apache.poi.ss.usermodel.WorkbookFactory.create(WorkbookFactory.java:63)
...tomcat and dispatcher call chain
-- 
View this message in context: http://apache-poi.1045710.n5.nabble.com/Yet-another-Out-of-memory-tp3316218p3316218.html
Sent from the POI - Dev mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message