How to get free heap size in Java?

Posted by Pentium10 on Stack Overflow See other posts from Stack Overflow or by Pentium10
Published on 2010-05-21T18:38:04Z Indexed on 2010/05/21 18:40 UTC
Read the original article Hit count: 552

Filed under:
|
|

I want to calculate the heap usage for my app. I would like to get a procent value of Heap size.

How do I calculate the procent value in code for the current running app?

© Stack Overflow or respective owner

Related posts about java

Related posts about heap