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=25023>.
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=25023

OutOfMemoryErrors after file uploads





------- Additional Comments From [EMAIL PROTECTED]  2003-12-20 08:00 -------
Perhaps aborting the upload is causing problems...

But this would be exaserbated if the old Struts 1.0 file classes were used.
I have seen developers that didn't want to recode the file upload,
so they used the <controller > element in the struts-config.xml
to use the old classes. With the old classes I have seen it
crash the JVM after about 200MB. With the new classes which are used
by default we have uploaded 1GB files with the standard JVM settings,
in a fairly large application. I believe that by default it only keeps
about 30K in memory so it would probably take around 1000 aborts to 
crash your JVM depending on total free memory.

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

Reply via email to