Memory Usage

Administrators will want to use jmap to create a memory profile for the running application.

jmap is part of the Oracle 1.6 or 1.7 JDK installation. It is a free:

Generating an HPROF file dump with jmap:

$ jmap -dump:file=<file_name> <pid>

Then you will want to import the profile data into a viewer such as:

1.) VisualVM:
2.) YourKit:
3.) Eclipse:
4.) HP JMeter: