tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Venkat Reddy Valluri" <venk...@quinnfable.com>
Subject top command shows memory usage of java process is two times more than what actually java heap is taking
Date Thu, 02 Jan 2003 18:31:34 GMT

Hi,
    When I run top command on linux, it is showing  memory usage of java process is two times
more than what java heap is taking, I got java heap size inside java program using "Runtime.getRuntime().totalMemory()
- Runtime.getRuntime().freeMemory();"
    I didn't understand why it is showing like this, Can anybody explain me

Thks,
--Venkat  

Mime
View raw message