Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Invalid
-
1.0 Final
-
None
-
None
-
Tomcat 5.0, JDK 1.4.2_09, SQLServer 2000, Struts 1.1, Spring 1.2.4
Description
1: I am getting java.lang.OutOfMemoryError when the form in my jsp code is as below.
<html:form action="/actnMpng" enctype="multipart/form-data" method ="post" >
– JSP code ? containing very huge data (hidden parameters) with file upload attachment facility (<html:file/>).
</html:form>
This is throwing OutOfMemoryError eventhough I am not attaching/uploading any files.
2:*** The same data is getting posted successfully if the form is submitted with out
enctype="multipart/form-data" and without providing the attachment facility.
3: Also if the data (number of items which are dynamic) is less, the form is not throwing Out of memory exception even though we are submitting with enctype="multipart/form-data" with file upload attachment fecility.
Please find the below log generated in Tomcat.
2009-06-02 16:51:42 StandardWrapperValve[action]: Servlet.service() for servlet action threw exception
java.lang.OutOfMemoryError
plese let me know if anybody came across this problem.