CQ_JVM_OPTS Example AEM
Hi all,
I need to start AEM Author with some JVM parameters using CQ_JVM_OPTS.
Could this be done using Quickstart Jar invocation using Java on command line?
Please share an example.
Appreciate all your replies.
Thanks,
Rama.
Hi all,
I need to start AEM Author with some JVM parameters using CQ_JVM_OPTS.
Could this be done using Quickstart Jar invocation using Java on command line?
Please share an example.
Appreciate all your replies.
Thanks,
Rama.
Let’s say your AEM Quickstart JAR is at C:\author\aem-author-p4502.jar.
Here’s how to do it correctly in Windows:
cd C:\author
set CQ_JVM_OPTS=-Xmx4096m -XX:+UseG1GC -Dsling.run.modes=author
This sets the
CQ_JVM_OPTSvariable only for the current Command Prompt session.
java %CQ_JVM_OPTS% -jar aem-author-p4502.jar
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.