tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Charl Gerber <charlger...@yahoo.com>
Subject Tomcat and Runtime.freeMemory()
Date Tue, 14 Jun 2005 16:08:03 GMT
In a follow-up to my previous thread, I have now made
a small jsp that prints the free memory using
Runtime.freeMemory().

This however runs down to 0 quite quickly with no
users connected (just my one session) and then jumps
up to somewhere about have the allocated memory....
runs down to 0 and jumps back up to the maximum. Ie,
garbage collection kicks in.

But why does the free memory not remain consistant if
there is no server activity? Some internal Tomcat
tasks? I'm pretty sure my webapps do nothing in the
background.

Charl


---------------------------------------------------------------------
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