DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5274>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5274

OutOfMemoryError when uploading big files

           Summary: OutOfMemoryError when uploading big files
           Product: Struts
           Version: Nightly Build
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: File Upload
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


OutOfMemoryError when uploading big files, or maybe files with long lines? I've 
seen other bugs related to this. After clamping down Tomcat with -Xmx128m, I 
attempt to upload an all-zero 100M file using the upload demo app.

This is using the nightly build from less than a week ago, 11/30/01.

2001-12-04 18:06:39 - Ctx( /struts-upload ): Exception in: R( /struts-upload 
+ /upload.do + null) - java.lang.OutOfMemoryError
        <<no stack trace available>>

2001-12-04 18:06:39 - Ctx( /struts-upload ): Exception in: R( /struts-upload 
+ /upload.do + null) - java.lang.NullPointerException
        at org.apache.struts.upload.MultipartIterator.createLocalFile
(MultipartIterator.java:514)
        at org.apache.struts.upload.MultipartIterator.getNextElement
(MultipartIterator.java:217)
        at org.apache.struts.upload.DiskMultipartRequestHandler.handleRequest
(DiskMultipartRequestHandler.java:76)
        at org.apache.struts.util.RequestUtils.populate(RequestUtils.java:735)
        at org.apache.struts.action.ActionServlet.processPopulate
(ActionServlet.java:2061)
        at org.apache.struts.action.ActionServlet.process
(ActionServlet.java:1563)
        at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:509)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)

Please advise.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to