commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sambasiva Rao J (JIRA)" <j...@apache.org>
Subject [jira] Created: (FILEUPLOAD-174) Java.Lang.OutOfMemoryError while trying to post huge data with enctype="multipart/form-data"
Date Tue, 02 Jun 2009 14:41:07 GMT
Java.Lang.OutOfMemoryError while trying to post huge data with enctype="multipart/form-data"
--------------------------------------------------------------------------------------------

                 Key: FILEUPLOAD-174
                 URL: https://issues.apache.org/jira/browse/FILEUPLOAD-174
             Project: Commons FileUpload
          Issue Type: Bug
    Affects Versions: 1.0 Final
         Environment: Tomcat 5.0, JDK 1.4.2_09, SQLServer 2000, Struts 1.1, Spring 1.2.4
            Reporter: Sambasiva Rao J
            Priority: Critical


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. 


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message