Expand my Community achievements bar.


Automatic heap Dump in Memeory Console AEM 5.6.1


Level 4

If i recall correctly heap dump was dumping JVM heap dump based on time interval and threshold in CQ 5.5 but 5.6.1 does not seems to behave correctly or may be it's dust on my mind :).

Any thought how to get automatic heap dump working..... not sure interval is in millisecond?  Thrash hold value never get persisted in text field. Does automatic really works? manual heap dump clicking on button make sense and it works.

Thanks Chandra

1 Accepted Solution


Correct answer by
Level 5
3 Replies


Level 10

Use jmap at your interval. Though I am not clear what you are exactly looking.

To get heap dump on out of memory you can configure [2].  If you are looking for gc runtime configure [1].  Refer [1] how to manually generate heapdump.

[0]  http://helpx.adobe.com/crx/kb/AnalyzeMemoryProblems.html






Level 4

Sham, Thanks for sharing details By the way whole lot of JAVA utility helps to take heapdump and by writing script we can do interval based heap dump process   but I am interested taking heap dump automatically  using /system/consolde/memeoryusage console/interface out of box provided in CQ 5.6.1..

When system is about to reach on peak or about to go for OutofMemery or something, that interface should allow me take headlamp based on thrash hold  and time interval.

Let us say i want to set.. Threshold=80%  and Interval=15 minutes.


Correct answer by
Level 5

It should work from console. check this and let us know if it helps,