Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to check actual allocated and used memory for java process in solaris?

843829Oct 17 2007 — edited Oct 18 2007
Hi,

I'm testing performance for java application on solaris 10. And I would like to know how to measure actual memory allocated and used for java process.

I'm setting -Xms512m -Xmx512m for my java process and I use prstat command to monitor it's memory. But I found that when I run prstat to check, in SIZE column is more than I setting (found 644).

So I'm don't know the actual memory that java process used. (In this case,is it mean the process use memory (644) more than setting (512)?)

Thank you.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 15 2007
Added on Oct 17 2007
2 comments
619 views