April 23, 2020
Estimated Post Reading Time ~ 1 mins

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 Screen+Shot+2020-04-23+at+10.39.42+AM

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. Screen+Shot+2020-04-23+at+10.41.59+AM

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
aem4beginner.blogspot


By aem4beginner

No comments:

Post a Comment

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

Ad Blocker Detected :(

Please consider supporting us by disabling your ad blocker.

Please Disable your adblocker and Refresh the page to view the site content.