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 ?
wildfy::java_opts: '-XX:+UseG1GC -XX:+HeapDumpOnOutOfMemoryError'