Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

NiFi - MonitorMemory Reporting Task

avatar

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

avatar

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

View solution in original post

1 REPLY 1

avatar

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