Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 1005 Bytes

HeapProfiler.md

File metadata and controls

25 lines (15 loc) · 1005 Bytes

Introduction

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>

JvmTop

inorder to view the deltas between the updates, you can use --enable-deltas flag in addition.

jvmtop.sh --profile-mem <PID> --enable-deltas

JvmTop

Important notes

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