camel cmd jfr-old-objects

Diagnose memory leaks using JFR OldObjectSample events in a running Camel integration

Usage

camel cmd jfr-old-objects [options]

Options

Option Description Default Type

--duration

Recording duration in seconds (auto-stops after this time)

60

int

--min-size

Only show samples with total size above this value (e.g. 1024, 10KB, 1MB). Default 1KB in dual mode to filter noise

0

String

--mode

Recording mode: dual (default, two recordings with trend comparison) or single (one recording)

dual

String

--query

Query cached results from the last recording

boolean

--stacktrace

Show allocation stack trace for each sample

boolean

--start

Start a JFR recording for OldObjectSample events

boolean

--status

Check recording status

boolean

--stop

Stop the active recording and display results

boolean

--top

Show only the top N samples

50

int

-h,--help

Display the help and sub-commands

boolean