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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Gc Overhead limit Exceeded

Avatar

Level 2

1680051_pastedImage_0.png

Hi I have the following problem when uploading a package, I would like to know what I can do to avoid this inconvenience and read that should increase the memory of AEM JMV but I do not know how to do it if someone has an example or can tell me how I should do Increase the JVM memory for AEM I would really appreciate it, or if you can tell me what I should do to avoid this error, thank you.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

It should be in the start up script that brings up AEM server with

CQ_JVM_OPTS='-server -Xmx1024m -XX:MaxPermSize=256M -Djava.awt.headless=true'  in   crx-quickstart/bin

Modify it to -Xmx2048m and test

If you work on local and start the server with cmd line/terminal then simply pass it in

java -Xmx2048M -jar <publish>.jar

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

It should be in the start up script that brings up AEM server with

CQ_JVM_OPTS='-server -Xmx1024m -XX:MaxPermSize=256M -Djava.awt.headless=true'  in   crx-quickstart/bin

Modify it to -Xmx2048m and test

If you work on local and start the server with cmd line/terminal then simply pass it in

java -Xmx2048M -jar <publish>.jar