tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: heap size problems (speed) [2]
Date Mon, 28 Nov 2005 23:18:05 GMT
> From: Cristian S [mailto:cs@nightwish.eu.org] 
> Subject: Re: heap size problems (speed) [2]
> 
> Frankly I have no ideea what's the point of loading almost 
> 400M of data in memory in a HashMap.

"If it's worth doing, it's worth doing to excess."  Or maybe not.  Try
turning on -verbose:gc and see if you're going through a lot of garbage
collections.  If your max heap is 512mb and you're using 400mb of it for
the cache, there may not be much left for request processing.  Should
also try a memory profiler to see just how full the heap really is.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message