Created
November 21, 2021 20:05
-
-
Save macmule/652049ba402367f1c73809c1b9f8c7d8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # Specify options to pass to the Java VM. | |
| # | |
| if [ "x$JAVA_OPTS" = "x" ]; then | |
| JAVA_OPTS="-Xms128m -Xmx4g -XX:MaxPermSize=256m -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000" | |
| JAVA_OPTS="$JAVA_OPTS -Djboss.modules.system.pkgs=$JBOSS_MODULES_SYSTEM_PKGS -Djava.awt.headless=true" | |
| JAVA_OPTS="$JAVA_OPTS -Djboss.server.default.config=standalone.xml" | |
| else | |
| echo "JAVA_OPTS already set in environment; overriding default settings with values: $JAVA_OPTS" | |
| fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment