| Peppe 2004-02-04, 12:37 am |
| Hello All,
I am in a process of measuring the memory utilization of a java
application on SunOS. I have started the application with 768MB of
minimum heap memory and 768 MB of maximumum memory.
I've monitored on the machine with prstat -p <PID> and the
informations showed are pretty different from those I expected. The
default console obviously shows the right amount of available memory
and a really high precentage of utilization of it, but the prstat
command shows a larger amount of "total virtual memory size of the
process" with a percentage of utilization appreciably smaller then the
one reported on the console.
Moreover prstat shows differents servers with the same Java option on
the start -ms64m -mx64m, utilize different amounts of memory. What
does it mean? Can anyone please explain me how to relate the JVM's
heap memory usage with
the machine memory usage data.
Thanks in advance.
Peppe
|