1
votes

I am creating a memory monitoring reporting tasks in Apache NiFi, to monitory the JVM usage. But i don't know which memory pool is appropriate to monitor usage of JVM. Any suggestion will be appreciated.

Memory pools available:

  • Code Cache

  • Metaspace

  • Compressed Class Space

  • G1 Eden Space

  • G1 Survivor Space

  • G1 Old Gen

As per my knowledge G1 Eden Space, G1 Survivor Space and G1 Old Gen are younger generation memory pool, so these three used to monitor java heap space. correct me if i am wrong.

1
What do you mean by "complete usage of JVM"?apangin
Instead of individually monitoring the separate memory pool, i need to monitor the complete JVM memory.Suresh Ram
What is "complete JVM memory"? Amount of reserved or committed virtual memory of a Java process? Check this question.apangin

1 Answers

2
votes