Flags flags = message.getFlags(); And I tried java mail 1.4ea and it is the same as 1.3.2, it runs out of heap. I think sun Java implementation to put everything into memory is not scalable. We are talking about email attachment and not java POJO. And for very busy server like one used in ISP, this is not scalable.
Anyway, good work. James 2.2.0 is very stable so far. Regards, Edward On 12/30/05, Stefano Bagnara <[EMAIL PROTECTED]> wrote: > > > Is it possible to store it into temporary file? Using more memory does > not > > guarantee the stability, unless the email size is limited. But this is > not > > practical since it reduces James scalability. > > > There's no way we can control how sun javamail handle our messages. > We should write our own javamail implementation and this is a big work. > > We already wrapped the MimeMessage to avoid loading the message when > possible but sometimes javamail will load the message anyway! > > What is the mimemessage operation you are calling when you see the > OutOfMemoryError? > > Stefano > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
