jmap - Memory Map for Sun Java Real-Time System

SYNOPSIS

jmap [ option ] executable core

PARAMETERS

option
Options are mutually exclusive. Option, if used, should follow immediately after the command name.

executable
Java executable from which the core dump was produced.

core
core file for which the memory map is to be printed.

DESCRIPTION

jmap for Sun java Real-Time System (Java RTS) prints shared object memory maps or heap memory details of a given core file.

NOTE - This utility is unsupported and may or may not be available in future versions of Java RTS.

OPTIONS

<no option>
When no option is used jmap prints shared object mappings. For each shared object loaded in the target VM, start address, the size of the mapping, and the full path of the shared object file are printed. This is similar to the Solaris OS pmap utility.

-heap
Prints a heap summary, including real-time parameter settings, heap configuration, heap usage, and non-heap usage.

-heap:format=b
Dumps the Java heap in hprof binary format to a file named heap.bin in the working directory.

-histo
Prints a histogram of the heap. For each Java class, number of objects, memory size in bytes, and fully qualified class names are printed. VM internal class names are printed with '*' prefix.

-permstat
Prints class loader wise statistics of permanent generation of Java heap. For each class loader, its name, liveness, address, parent class loader, and the number and size of classes it has loaded are printed.

-h
Prints a help message.

-help
Prints a help message.

SEE ALSO


Copyright © 2008, Oracle Corporation and/or its affiliates

sun.com