Jerry M schrieb:
I'm getting a ton of Out of Memory errors in James in the connections log. (James 2.3.1) I've been running James for about 4 years and am just now beginning to hit these Out Of Memory errors. I don't see any significant changes to the traffic patterns for mail, other than the ever-growing spam count. But spam shouldn't be causing OOMs, should it? This is not a high-traffic server, relatively speaking. And there are too many OOMs in the log for it to be related to one excessively large email, etc. The CPU hangs around 10% most of the time.
I used to get OutOfMemoryErrors from James as well, even if I don't have very much traffic on my server. It turned out to be caused by large mails, which are kept in memory by James during processing. I also have some proprietary mailets configured, which might not be very optimized when it comes to memory usage, so my server already puked when it got mails reaching some 15-20MB in size.

The default heap size depends on which Java version you're using, but you can increase it to e.g. 512MB by setting the following option at the beginning of bin/phoenix.sh (or with setenv in phoenix.bat if you're using Windows):

PHOENIX_JVM_OPTS=-Xmx512M

Tor



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to