james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Danny Angus" <da...@apache.org>
Subject RE: An interesting note about memory leaks (was Memory leaks in RemoteDelivery mailet?)
Date Tue, 04 Feb 2003 10:23:44 GMT
> After a day of wasted effort, I discovered that using "-server" to set 
> the hotspot VM to server mode cured the problem entirely.  The heap 
> usage sat at around 5 - 6MB indefinitely.  Apparently, when garbage 
> collection is performed, memory is only freed until a certain threshold 
> is reached.  After that, the client VM decides that's enough until the 
> high water mark is reached once more.
> The moral of the story is that not all memory consumption is leakage.

and that -server is a necessity for java applications with long uptimes.


To unsubscribe, e-mail: james-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-dev-help@jakarta.apache.org

View raw message