commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 32785] - [fileupload] FileItem implements Serializable incorrectly
Date Mon, 28 Nov 2005 02:26:12 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32785>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32785





------- Additional Comments From martinc@apache.org  2005-11-28 03:26 -------
Unfortunately, this will almost certainly cause OutOfMemory exceptions when
large uploads are involved. This is because both writeObject and readObject rely
on the entire contents being loaded into memory. That's fine for typical form
fields, but if the item represents a 2GB upload, things don't look so good.

Something along these lines that streams the content from or to a DFOS might
work, but I hate to think of the performance implications of serialisable
sessions that contain multiple gigabytes of data...

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message