Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

NiFi - MonitorMemory Reporting Task

Solved Go to solution

NiFi - MonitorMemory Reporting Task

What are the possible values for memory Pool property in MonitorMemory Reporting Task ? I couldn't find any documentation around possible values for these.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: NiFi - MonitorMemory Reporting Task

The memory pool names are specific to whatever garbage collector you're using with the JVM. If you're using ParallelGC the choice of names are going to be:

  • PS Eden Space
  • PS Survivor Space
  • PS Old Gen
  • PS Perm Gen

For G1GC:

  • G1 Eden
  • G1 Survivor
  • G1 Old Gen
  • G1 Perm Gen

And there are others for other garbage collectors.

If you're unsure you can connect to a process using jconsole and look at java.lang -> MemoryPool:

3032-jconsole-memory-pools.png

1 REPLY 1

Re: NiFi - MonitorMemory Reporting Task

The memory pool names are specific to whatever garbage collector you're using with the JVM. If you're using ParallelGC the choice of names are going to be:

  • PS Eden Space
  • PS Survivor Space
  • PS Old Gen
  • PS Perm Gen

For G1GC:

  • G1 Eden
  • G1 Survivor
  • G1 Old Gen
  • G1 Perm Gen

And there are others for other garbage collectors.

If you're unsure you can connect to a process using jconsole and look at java.lang -> MemoryPool:

3032-jconsole-memory-pools.png

Don't have an account?
Coming from Hortonworks? Activate your account here