http://kenai.com/bugzilla/show_bug.cgi?id=4743
--- Comment #2 from jamesjin_at_kenai.com 2012-02-28 06:23:23 UTC ---
I’ve checked the code of javamail 1.4.4.
You are right. It cannot happen when opening folder.
In our code, we also call POP3Folder#getMessages. This should be the root
cause.
Increase heap size does not help in our case, since we fetch messages for
thousands of users.
This not only causes OOM, but also has huge impact on the performance of our
application.
--
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.