| 发表于:2008-01-18 10:08:20 楼主 |
我现在使用一个jxl.workbook的组建在导入excel数据的过程中出现内存溢出,跟踪了下代码,在进行调用组建的read()方法时会导致内存的溢出(数据量比较大的时候才会出现上述现象) 现象:http status 500 - description the server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.servletexception org.apache.struts2.dispatcher.dispatcher.serviceaction(dispatcher.java:518) org.apache.struts2.dispatcher.filterdispatcher.dofilter(filterdispatcher.java:421) org.apache.struts2.dispatcher.actioncontextcleanup.dofilter(actioncontextcleanup.java:99) com.aspire.simf.eaf.client.rightcheckfilter.dofilter(rightcheckfilter.java:165) root cause java.lang.reflect.invocationtargetexception sun.reflect.nativemethodaccessorimpl.invoke0(native method) sun.reflect.nativemethodaccessorimpl.invoke(nativemethodaccessorimpl.java:39) sun.reflect.delegatingmethodaccessorimpl.invoke(delegatingmethodaccessorimpl.java:25) java.lang.reflect.method.invoke(method.java:585) com.opensymphony.xwork2.defaultactioninvocation.invokeaction(defaultactioninvocation.java:399) com.opensymphony.xwork2.defaultactioninvocation.invokeactiononly(defaultactioninvocation.java:262) com.opensymphony.xwork2.defaultactioninvocation.invoke(defaultactioninvocation.java:224) com.opensymphony.xwork2.interceptor.defaultworkflowinterceptor.dointercept(defaultworkflowinterceptor.java:213) com.opensymphony.xwork2.interceptor.methodfilterinterceptor.intercept java.lang.outofmemoryerror: java heap space note the full stack trace of the root cause is available in the apache tomcat/5.5.25 logs. |
|
|
|
|