April 23, 2020
Estimated Post Reading Time ~

How to generate Heap dump or run Garbage collection through Felix console

Statement - How to generate Heapdump or run Garbage collection through Felix console Environment - AEM 6.3, JRE 1.8

Solution:
Steps to Generate the Manual Heap Dump/run garbage collector

Go to this path - http://localhost:4502/system/console/memoryusage
Click on the dump heap to generate the dump manually
Click on the run garbage collector to run the GC manually

Also, you can observe Pending Finalizable Objects waiting for the GC to run
Steps to Generate the Auto Heap Dump

Define the Automatic Heap Dump Threshold (%) to 80% (based on the need)- enter the value 80 and click on a set threshold
define the Automatic Heap Dump Interval (s) to 3600(1 hr)- Enter the value 3600 and click on a set interval.

That's it whenever heap memory shoots up to 80% , auto heapdump will be generated. same can be seen in the location parallel to CRX-quickstart


By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.