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 > Re: Java VM Que...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 3 Topic 709 of 843
Post > Topic >>

Re: Java VM Question

by "Ben_" <reply@[EMAIL PROTECTED] > Aug 17, 2006 at 10:00 PM

I don't know the internals of this particular implementation, but I know
that some JVM implementations never release the memory to the Operating
System, even when the heap was shrunk.

What you see with Runtime.totalMemory is the size of the heap. What you
see
with top is the size of the process, for which the Java heap accounts for
most of the size, but not all (memory allocated by native code, etc).
 




 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 Wed Dec 3 15:46:06 CST 2008.