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=23906>. 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=23906 Large emails in the spool cause SpoolManager to throw OutOfMemoryError ------- Additional Comments From [EMAIL PROTECTED] 2003-10-20 18:14 ------- If I recall my earlier experiments correctly, the MimeMessage(Session, InputStream) constructor is the culprit here. It reads (or attempts to read) the whole message into memory, before returning, thus limiting message size to what can be held in memory at once. In my mailserver development I get around this by not constructing a MimeMessage (can't see that I need one), writing the message body right into a file. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]