Dears,
Any help please? That answer confused me instead of giving me the
answer. Thanks in advance.
Nabieh.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3960896#3960896
Reply to the post :
All these values are obtained by invoking APIs provided by Java's
java.lang.Runtime class. So the javadoc of the following methods might help you
in understanding the same:
Free Memory:
http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Runtime.html#freeMemory()
Max Memory :
The javadoc doesn't expalin the difference between max memory and total memory,
and assumes that you undertsand how the heap works, which you can find at
http://java.sun.com/docs/hotspot/gc5.0/gc_tuning_5.html.
But to summarize. The heap is broken up into several areas. One of those
areas
Hello,
The Free Memory gives the details of free heap memory space, Max Memory gives
the details of maximum allocated heap space and Total memory gives the details
of total heap memory space.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3960627#3960627
anonymous wrote : - Total memory gives the details of total heap memory space.
|
We have set the maximum heap size to 1 GB, I am asking why I have only
137 free? And what do you mean by Details of Total space? I am lost! Total of
what?
Let us refer to a simple case, when I