Name

adams.flow.standalone.MemoryMonitor


Synopsis

Monitors the memory (used/committed heap vs maximum heap).Every number of seconds ('sampleInterval'), the memory consumption, i.e., 'heap used', is sampled, keeping the specified number of latest samples ('numSamples').
Once the specified number of samples have been reached, it is checked whether the specified percentage of samples ('coverage') reaches or exceeds the threshold percentage of the maximum heap has been exceeded ('threshold'). If that should be the case, a notification is sent.
After a notification has been sent out, a minimum wait time in seconds is imposed before sending out another one ('notificationWait').
Also skips coverage tests, if the number if samples reaching/exceeding the threshold is in decline.
Available placeholders for the message template:
- {threshold_perc}: user-provided parameter
- {threshold_bytes}: calculated bytes
- {num_samples}: user-provided parameter
- {coverage_perc}: user-provided parameter
- {coverage_num}: calculated number
- {max_bytes}: obtained from running system


Additional information

Flow input/output:
-standalone-


Options