http://kenai.com/bugzilla/show_bug.cgi?id=4743
Bill Shannon <shannon_at_kenai.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
--- Comment #3 from Bill Shannon <shannon_at_kenai.com> 2012-04-02 19:57:27 UTC ---
I think the best approach here is to process the messages in batches,
closing the folder between batches so that resources are freed. And
of course if you ask for all Message objects for all messages in the
folder, be prepared for it to use a lot of memory. It's better to
only ask for the Message objects that you need, which might involve
keeping track of which messages you've already processed. (See the
com.sun.mail.pop3 package javadocs for more advice on that.)
I'm not sure there's anything else JavaMail can do to help here.
JavaMail allows your program to process such a large mailbox efficiently,
but your program has to use the JavaMail API appropriately.
--
Configure bugmail: http://kenai.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.