Gc Overhead limit Exceeded | Community
Skip to main content
kevinl17371805
Level 2
January 30, 2019
Solved

Gc Overhead limit Exceeded

  • January 30, 2019
  • 1 reply
  • 2445 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Gaurav-Behl

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

1 reply

Gaurav-Behl
Gaurav-BehlAccepted solution
Level 10
January 30, 2019

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