tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robinson, Eric" <eric.robin...@psmnv.com>
Subject Showing Tomcat Memory Utilization with 'top'
Date Tue, 22 Jun 2010 18:44:38 GMT
In top, my java processes all show an average VIRT size of about 250MB
and an average RES size of about 150MB. Most of them were started with a
64MB heap size. I have two questions:

1. Top shows 0k of swap usage, so the system is not swapping. In that
case, why is there a difference between the VIRT and RES numbers? My
understanding is that RES=CODE+DATA and VIRT=RES+SWAP. If swap=0, then
should not RES and VIRT be the same?

2. Where does the 64MB of java heap show up?

--
Eric Robinson



Disclaimer - June 22, 2010 
This email and any files transmitted with it are confidential and intended solely for Tomcat
Users List. If you are not the named addressee you should not disseminate, distribute, copy
or alter this email. Any views or opinions presented in this email are solely those of the
author and might not represent those of . Warning: Although  has taken reasonable precautions
to ensure no viruses are present in this email, the company cannot accept responsibility for
any loss or damage arising from the use of this email or attachments. 
This disclaimer was added by Policy Patrol: http://www.policypatrol.com/

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


Mime
View raw message