Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Machine > Java VM Questio...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 709 of 833
Post > Topic >>

Java VM Question

by "GNS" <richard.liu@[EMAIL PROTECTED] > Aug 17, 2006 at 12:18 PM

I have a java web application running on Sun Solaris 10 platform, the
java version is 1.5.0. Recently I found when I used TOP command to get
the memory used by my application it was over 1.5GB and kept
increasing. However when using the java.lang.Runtime.totalMemory() and
freeMemory() methods from my code the memory usage was way lower than
the size re****ted by TOP.  From totalMemory() and freeMemory() method
calls I could see that there did not seem to have a memory leak in my
code and the GC was working properly however memory use re****ted by TOP

never decreased meaning that the GC never got kicked off???

Thanks, 


Richard.
 




 3 Posts in Topic:
Java VM Question
"GNS" <richa  2006-08-17 12:18:34 
Re: Java VM Question
"Ben_" <repl  2006-08-17 22:00:44 
Re: Java VM Question
Matthias Ernst <matthi  2006-08-19 10:50:28 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Oct 10 14:42:59 CDT 2008.