Reputation: 35
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
Reputation: 1948
wildfy::java_opts: '-XX:+UseG1GC -XX:+HeapDumpOnOutOfMemoryError'
Upvotes: 1