Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.

How to Generate an AEM Heap Dump | AEM Community Blog Seeding

Avatar

Administrator

BlogImage.jpg

How to Generate an AEM Heap Dump by HowtoAEM blog

Abstract

Your AEM instance is running slower and eventually stops with some variation of an out of memory errors or exceptions. You also see errors in the logs similar to the following:

OutOfMemoryError: Java heap spaceorOutOfMemoryError: gc overhead limit exceeded.
Heap memory is the run time data area from which the memory for all java class instances and arrays is allocated. The heap is created when the JVM starts up and may increase or decrease in size while the application runs. The size of the heap can be specified using –Xms VM option.


This blog shows some ways to generate the AEM Heap Dump for analysis as well as possibly sending it as part of your DayCare ticket to Adobe or when trying to collaborate and troubleshoot with other teams.


How to Check your AEM Heap Memory:

This is usually set by the jvm parameter-Xmx as part of your AEM start up script. It would be similar to something like this:

-server -Xmx1024m -XX:MaxPermSize=256M -Djava.awt.headless=true
For this AEM instance, the heap memory allocated is 1024m.

Read Full Blog

How to Generate an AEM Heap Dump

Q&A

Please use this thread to ask the related questions.



Kautuk Sahni
Topics

Topics help categorize Community content and increase your ability to discover relevant content.

0 Replies