Skip to main content

MonitorMemory

Description

Checks the amount of Java Heap available in the JVM for a particular JVM Memory Pool. If the amount of space used exceeds some configurable threshold, will warn (via a log message and System-Level Bulletin) that the memory pool is exceeding this threshold.

Tags

garbage collection, gc, heap, jvm, memory, monitor, warning

Properties

In the list below required Properties are shown with an asterisk (*). Other properties are considered optional. The table also indicates any default values, and whether a property supports the NiFi Expression Language.

Display NameAPI NameDefault ValueAllowable ValuesDescription
Memory Pool *Memory PoolG1 Old Gen
  • G1 Eden Space
  • G1 Old Gen
  • G1 Survivor Space
The name of the JVM Memory Pool to monitor. The allowed values for Memory Pools are platform and JVM dependent and may vary for different versions of Java and from published documentation. This reporting task will become invalidated if configured to use a Memory Pool that is not available on the currently running host platform and JVM
Usage Threshold *Usage Threshold65%Indicates the threshold at which warnings should be generated. This can be a percentage or a Data Size
Reporting IntervalReporting IntervalIndicates how often this reporting task should report bulletins while the memory utilization exceeds the configured threshold

State Management

This component does not store state.

Restricted

This component is not restricted.

System Resource Considerations

This component does not specify system resource considerations.

See Also