Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

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

Avatar

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,163 likes

Total Posts

6,273 posts

Correct Reply

1,144 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile

Avatar
Establish
Community Manager
kautuk_sahni
Community Manager

Likes

1,163 likes

Total Posts

6,273 posts

Correct Reply

1,144 solutions
Top badges earned
Establish
Coach
Originator
Contributor 2
Contributor
View profile
kautuk_sahni
Community Manager

03-06-2020

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.

AEM AEMEBlogSeeding Experience Manager