Used/available memory? Where can I read this from?
When I turn on verbosegc, the garbage collector prints out on system.err
how much memory the JVM is using and how much is occupied/available for
objects. Does anybody know where, from which class/method, can I read
those values inside a Java program? I searched the JDK documentation and
couldn't find this. Tks!
Bookmarks