tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Gainty" <>
Subject Re: heap size problems (speed) [2]
Date Tue, 29 Nov 2005 01:31:56 GMT
Agreed for memory profiler I would check out

If this solution is workable you may want to set environment variable JAVA_OPTS to include


----- Original Message ----- 
From: "Caldarale, Charles R" <>
To: "Tomcat Users List" <>
Sent: Monday, November 28, 2005 6:18 PM
Subject: RE: heap size problems (speed) [2]

> From: Cristian S [] 
> 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

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:
For additional commands, e-mail:

View raw message