JBOSSUSER
JBOSSUSER

Reputation: 35

How do I add G1GC parameter in JBOSS EAP 7.1.0?

We are using JBOSS EAP7.1.0 module and have written puppet module for the same . We have separated the hiera and code .The max and min heap size is added as below :

wildfly::java_xmx:        '2048m'
wildfly::java_xms:        '2048m'

Can anyone tell me how can I add -XX:+UseG1GC, [Garbage Collector --> G1] and -XX:+HeapDumpOnOutOfMemoryError ?

Upvotes: 0

Views: 1114

Answers (1)

meaningqo
meaningqo

Reputation: 1948

wildfy::java_opts: '-XX:+UseG1GC -XX:+HeapDumpOnOutOfMemoryError'

Upvotes: 1

Related Questions