poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acoli...@apache.org
Subject Re: Out of memory error
Date Mon, 28 Nov 2005 23:35:50 GMT
I'd just increase your heap size with -Xmx

-Andy

Dhruti Ramani wrote:
> I will try that but don't understand what difference its gonna make? File will be still
more than 2Mb.
>    
>   Denna
> 
> Karl-Heinz Zengerle <karlheinz@sawag.com> wrote:
>   Hi Denna.
> 
> Is it easy to rebuild the template from the scratch and then retry it?
> 
> Regards, Karl-Heinz.
> 
> 
> Am Mo 28.11.2005 19:10 schrieb Dhruti Ramani :
> 
> 
>>Sorry but that could not solve the problem.
>>
>>Any other suggestions?
>>Thanks,
>>Denna
>>
>>Karl-Heinz Zengerle wrote:
>>Hi Denna.
>>
>>2.5.0 had problem with lists. Do you use such constructs?
>>
>>You could make a countertest with 2.5.1 or 2.0.
>>
>>Regards, Karl-Heinz.
>>
>>
>>Am Mo 28.11.2005 17:41 schrieb Dhruti Ramani :
>>
>>
>>>Thanks for replying.
>>>
>>>I am using POI2.5, if I upload file less than 2 Mb it works fine.
>>>
>>>Here is the full exception,
>>>
>>>java.lang.reflect.InvocationTargetException
>>>at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>at
>>>
>>>sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>>at
>>>
>>>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>>at java.lang.reflect.Method.invoke(Method.java:324)
>>>at com.ds.reflection.Reflection.invoke(Reflection.java:130)
>>>at wt.core.Controller.doAction(Controller.java:83)
>>>at wt.core.Action.invokeControllerMethod(Action.java:114)
>>>at wt.core.Action.executeAction(Action.java:99)
>>>at wt.core.Action.execute(Action.java:45)
>>>at
>>>
>>>wt.core.WtRequestController.processActions(WtRequestController.java:86)
>>>at
>>>
>>>wt.core.WtRequestController.processRequest(WtRequestController.java:64)
>>>at wt.tags.Editor.doStartTag(Editor.java:57)
>>>at org.apache.jsp.Appmodel$jsp._jspService(Appmodel$jsp.java:69)
>>>at
>>>org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
>>>at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>>>at
>>>
>>>org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:201)
>>>at
>>>
>>>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
>>>at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
>>>at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
>>>at
>>>
>>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
>>>at
>>>
>>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
>>>at
>>>
>>>wt.core.WtMultiPartRequestFilter.doFilter(WtMultiPartRequestFilter.java:72)
>>>at
>>>
>>>org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
>>>at
>>>
>>>org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
>>>at
>>>
>>>org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
>>>at
>>>
>>>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
>>>at
>>>
>>>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>>>at
>>>
>>>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>>>at
>>>
>>>org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
>>>at
>>>
>>>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
>>>at
>>>
>>>org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:531)
>>>at
>>>
>>>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
>>>at
>>>
>>>org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
>>>at
>>>
>>>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
>>>at
>>>
>>>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>>>at
>>>
>>>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>>>at
>>>
>>>org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2347)
>>>at
>>>
>>>org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
>>>at
>>>
>>>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
>>>at
>>>
>>>org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
>>>at
>>>
>>>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
>>>at
>>>
>>>org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
>>>at
>>>
>>>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
>>>at
>>>
>>>org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
>>>at
>>>
>>>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
>>>at
>>>
>>>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>>>at
>>>
>>>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>>>at
>>>
>>>org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
>>>at
>>>
>>>org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
>>>at
>>>
>>>org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
>>>at
>>>
>>>org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
>>>at
>>>
>>>org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1027)
>>>at
>>>
>>>org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
>>>at java.lang.Thread.run(Thread.java:534)
>>>Caused by: java.lang.OutOfMemoryError
>>>
>>>Thanks,
>>>Denna
>>>
>>>Karl-Heinz Zengerle wrote: Hi Denna.
>>>
>>>With just 256 MB we never had problems with files of 2 MB. So I
>>>rather
>>>assume other problems.
>>>
>>>What's the POI version? How does the exception look like?
>>>
>>>Regards, Karl-Heinz.
>>>
>>>
>>>
>>>Am Mo 28.11.2005 16:47 schrieb Dhruti Ramani :
>>>
>>>
>>>>Hi,
>>>>
>>>>Sorry I am posting same question here. I saw so many messages
>>>>about
>>>>this but could not find any solution.
>>>>
>>>>I am starting Eclipse with jvm setting -Xmx1024M, also using
>>>>tomcat
>>>>server. When I tried to read excel file larger than 1Mb then it
>>>>raised exception about memory. Right now Java part works fine but
>>>>i
>>>>think when I say HSSFWorkbook book=new HSSFWorkbook(inputStream)
>>>>at
>>>>that time it gives me java.lang.OutofMemory Exception.
>>>>
>>>>Am I missing something? 
>>>>I really need help with this.
>>>>
>>>>Thanks,
>>>>Denna
>>>>
>>>>
>>>>
>>>>---------------------------------
>>>>Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
>>>
>>>
>>>
>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
>>>Mailing List: http://jakarta.apache.org/site/mail2.html#poi
>>>The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/
>>>
>>>
>>>
>>>
>>>
>>>---------------------------------
>>>Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
>>Mailing List: http://jakarta.apache.org/site/mail2.html#poi
>>The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/
>>
>>
>>
>>
>>
>>---------------------------------
>>Yahoo! Music Unlimited - Access over 1 million songs. Try it free.
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
> Mailing List: http://jakarta.apache.org/site/mail2.html#poi
> The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/
> 
>   
> 
> 
> 		
> ---------------------------------
>  Yahoo! Music Unlimited - Access over 1 million songs. Try it free.


-- 
Andrew C. Oliver
SuperLink Software, Inc.

Java to Excel using POI
http://www.superlinksoftware.com/services/poi
Commercial support including features added/implemented, bugs fixed.


---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/


Mime
View raw message