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

-----Original Message-----
From: Stefano Bagnara [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 13, 2007 4:35 PM
To: James Users List
Subject: Re: Out of memory error while fetch mail.

Fisher ha scritto:
> It seems not the JVM take the memory, but some other program does. But,
the
> TOP command shows it is the Java thread takes the memory. Is it a JVM bug?
> Or disk spool repository bug?

It is a JVM behavior. Free memory for the JVM is not free memory for the OS.

Your modern OS will take care to swap unused pages.

If you are interested in this topic here is a simple article:
http://benpryor.com/blog/index.php?/archives/15-JVM-vs-CLR-memory-allocation
.html

you can find many information googling for "JVM memory" "free" or
something similar in your preferred search engine.

Stefano


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


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

Reply via email to