Fisher ha scritto:
> Hi,
> 
> I had finally got the problem, it is the InSpammerBlacklist matcher. After I
> commend this matcher, the problem goes away!
> I still very confusing with that issue yet. I saw a issue at James JIRA:
> InSpammerBlacklist latency seriously affects throughput(JAMES-758)
> 
> But it shows this only has performance issue, why could it cause JVM take so
> much memory? Further more I had try to use only one thread to run
> SpoolManager and sleep 5 second after it processed an email, and then the
> memory issue never happen. But even if I turn the sleep time to event 2
> Second, it will happen either, but need longer time to show up. Is this a
> bug with the DNS server?
> 
> Fisher

The only way we can tell is if you give us an heap dump.

Try adding  -XX:+HeapDumpOnOutOfMemoryError to the java command
launching james server.
This way your JVM will write an heap dump at every OOM so we can see
what objects are in memory when your server throws OOM.

This is a first step: if we can't find a solution this way then a real
memory profiler is needed.

Stefano



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

Reply via email to