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: Tomcat and Runtime.freeMemory()
Date Tue, 14 Jun 2005 16:55:06 GMT
> From: Charl Gerber [mailto:charlgerber@yahoo.com] 
> Subject: RE: Tomcat and Runtime.freeMemory()
> 
> So there is no way to determine how much memory you
> *really* have free?

The base of the sawtooth shown by a heap profiler is it.
Programattically, it can be a bit tricky when capabilities such as
Concurrent GC are in use.  You can try to force a garbage collection,
but that's a rather expensive action to take just to see a number.

 - 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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message