poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Louis.Mast...@log-net.com
Subject Re: OutOfMemoryError: Java heap space
Date Mon, 05 Mar 2012 01:12:14 GMT
>>when i write -Xmx2048m
You need a 64bit OS to set it that high.  On a 32bis OS, you are limited 
to ~1.4G.


mouss4rs <oukna.mustapha@gmail.com> wrote on 03/04/2012 04:58:44 PM:

> mouss4rs <oukna.mustapha@gmail.com> 
> 03/04/2012 04:59 PM
> 
> Please respond to
> "POI Users List" <user@poi.apache.org>
> 
> To
> 
> user@poi.apache.org
> 
> cc
> 
> Subject
> 
> OutOfMemoryError: Java heap space
> 
> Hello,
> 
> I meet this error:
> xception in thread "main" java.lang.OutOfMemoryError: Java heap space
>    at 
org.apache.xmlbeans.impl.store.Cur$CurLoadContext.attr(Cur.java:3039)
>    at 
org.apache.xmlbeans.impl.store.Cur$CurLoadContext.attr(Cur.java:3060)
>    at
> org.apache.xmlbeans.impl.store.Locale$SaxHandler.startElement
> (Locale.java:3250)
>    at
> 
org.apache.xmlbeans.impl.piccolo.xml.Piccolo.reportStartTag(Piccolo.java:1082)
>    at
> org.apache.xmlbeans.impl.piccolo.xml.PiccoloLexer.parseAttributesNS
> (PiccoloLexer.java:1822)
>    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:142)
>    at
> 
org.apache.poi.xssf.usermodel.XSSFSheet.onDocumentRead(XSSFSheet.java:134)
>    at
> org.apache.poi.xssf.usermodel.XSSFWorkbook.onDocumentRead
> (XSSFWorkbook.java:235)
>    at org.apache.poi.POIXMLDocument.load(POIXMLDocument.java:190)
>    at 
org.apache.poi.xssf.usermodel.XSSFWorkbook.<init>(XSSFWorkbook.java:182)
>    *at Extraction2.main(Extraction2.java:138)*
> 
> *at Extraction2.main(Extraction2.java:138)* is:
> XSSFWorkbook wb2= new XSSFWorkbook(opc);
> 
> i increase in eclipse.ini:
> -Xmx1024m
> 
> but i have the same probleme.
> 
> when i write -Xmx2048m
> 
> eclipse say me:
> "failed to create the java virtual machine"
> 
> 
> 
> --
> View this message in context: http://apache-poi.
> 
1045710.n5.nabble.com/OutOfMemoryError-Java-heap-space-tp5535905p5535905.html
> Sent from the POI - User mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
> For additional commands, e-mail: user-help@poi.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message