Closed EmersonPrado closed 1 year ago
I learned that this module can't know Java version - the obvious reason being Java is managed elsewhere - so it can't choose parameter according to that. I changed the title to use only MaxMetaspaceSize
instead.
@biemond Adding MaxMetaspaceSize
breaks compatibility with Oracle Java < 8. But Java < 8 is not supported anymore. Is that OK?
According to official Oracle Java docs, Java option
MaxPermSize
was deprecated in Java 8 and removed in Java 17. Since Java 8, this option was superseded byMaxMetaspaceSize
. This seems to require two changes:JAVA_OPTS="-Xms<%= $wildfly::java_xms %> -Xmx<%= $wildfly::java_xmx %>"