[ 
https://issues.apache.org/jira/browse/FILEUPLOAD-174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jochen Wiedmann resolved FILEUPLOAD-174.
----------------------------------------

    Resolution: Invalid
      Assignee: Jochen Wiedmann

Commons FileUpload provides a streaming API, which allows to process an 
arbitrary number of items with arbitrary size. The problem is obviously, that 
Struts in general or at least your application in particular doesn't make use 
of that API. Please contact the Struts mailing lists.


> 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
>            Assignee: Jochen Wiedmann
>            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.

Reply via email to