What JVM Garbage Collections options for AEM do you use? | Community
Skip to main content
New Participant
Oct 19, 2018 7:43 AM UTC
Solved

What JVM Garbage Collections options for AEM do you use?

So, by default the start script of AEM doesn't contain any specific JVM OPTS that configure / tune the way in which the JVM performs Garbage Collection.

Just wondering: What JAVA_OPTS do you guys use in the start script to configure the GC process for the Java Virtual Machine?

PS: Not talking about the Garbage Collection for the Datastore, this is about the JVM and it's memory management.

PSS: How about using the new G1GC, anyone got experience with that?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
joerghoh
joerghohAccepted solution
Employee
Oct 19, 2018 4:16 PM UTC

Why do you want to change JVM settings if you don't have to?

JVM tuning or premature optimization? | Things on a content management system

3 replies

joerghoh
joerghohAccepted solution
Employee
Oct 19, 2018 4:16 PM UTC

Why do you want to change JVM settings if you don't have to?

JVM tuning or premature optimization? | Things on a content management system

Translate
New Participant
Oct 19, 2018 8:34 AM UTC

We're seeing a lot of heap memory being held in the Old Gen Space. Manually triggering a Full GC reduces this by a lot. My assumption at this point is that GC is set a bit to lazy by default.

We've assigned 12Gb to the heap by the way, so in any case there's plenty of room left.

Translate
Peter_Puzanovs
New Participant
Oct 19, 2018 8:27 AM UTC

Any issues with your JVM that force you to change GC OPTS?

Translate