Starting with version 1.0, jvmtop includes an experimental, (Heap) memory sampling. You can invoke the profiling view by specifying the --profile-mem
argument, followed by the PID.
jvmtop.sh --profile-mem <PID>
inorder to view the deltas between the updates, you can use --enable-deltas
flag in addition.
jvmtop.sh --profile-mem <PID> --enable-deltas
Due to its design,
- the to-be-profiled jvm will face an significantly increased CPU-usage till the profiling ends
- compared to other profilers, the sample-rate is lower, however, for huge performance issues, it should suffice in most-cases