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.
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
Level 10

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
Level 10

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