How to monitor JVM memory in Apache NiFi

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.


    You can use MonitorMemory to monitor Java Heap. Detail is here:

    NIFI : Monitoring processor and nifi Service

    Monitor Apache NiFi with Apache NiFi

    链接地址: http://www.djcxy.com/p/82754.html

    上一篇: StandBy就像活动一样

    下一篇: 如何监控Apache NiFi中的JVM内存