Re: Determine Message Size in Mailet

2003-12-29 Thread Richard O. Hammer
Kraig Schario wrote: I am having a problem with a mailet when copying the Mail mail object to a MimeMessage. MimeMessage message = mail.getMessage(); It only occurs when the message contains large attachments. Usually larger than 2 MB. I receive the following error in the Mailet.log

Re: Determine Message Size in Mailet

2003-12-29 Thread Richard O. Hammer
Oh, and let me add that documentation (or perhaps I should say hints) about that memory-increasing command line option can be found in places like this http://java.sun.com/j2se/1.4.1/docs/tooldocs/windows/java.html. - To

RE: Determine Message Size in Mailet

2003-12-29 Thread Noel J. Bergman
Increase the available heap size for James using JVM_OPTS. The default is too small for your needs. --- Noel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Determine Message Size in Mailet

2003-12-29 Thread Kraig Schario
I am having a problem with a mailet when copying the Mail mail object to a MimeMessage. MimeMessage message = mail.getMessage(); It only occurs when the message contains large attachments. Usually larger than 2 MB. I receive the following error in the Mailet.log