Browse Source

調整JVM initial memory usage

master
Richard Shih 6 years ago
parent
commit
c07fc97157
2 changed files with 2 additions and 2 deletions
  1. 2
      wildfly_tml_khhw/Dockerfile
  2. 2
      wildfly_tml_txgw/Dockerfile

2
wildfly_tml_khhw/Dockerfile

@ -2,7 +2,7 @@ ARG BASE_IMAGE=khhwtml02t.wanhai.com:8182/jboss/wildfly-tml:latest
FROM $BASE_IMAGE
#set environment
ENV JAVA_OPTS="-Dcom.wanhai.tml.yard.current=KHHW -Dsentry.dsn=http://d5756310a31a47909989df81461b1da1:bfb176b900fb498c8e3b60d31d12c23f@khhwtml02t.wanhai.com:9000/2 -Dsentry.stacktrace.app.packages=com.wanhai.tml -Dsentry.release=0.1.0 -Dsentry.environment=${profile}"
ENV JAVA_OPTS="-Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -XX:+UseParallelGC -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=$JBOSS_MODULES_SYSTEM_PKGS -Djava.awt.headless=true -Dcom.wanhai.tml.yard.current=KHHW -Dsentry.dsn=http://d5756310a31a47909989df81461b1da1:bfb176b900fb498c8e3b60d31d12c23f@khhwtml02t.wanhai.com:9000/2 -Dsentry.stacktrace.app.packages=com.wanhai.tml -Dsentry.release=0.1.0 -Dsentry.environment=${profile}"
#prepare tmp dir
COPY --chown=jboss . ${JBOSS_HOME}/config

2
wildfly_tml_txgw/Dockerfile

@ -2,7 +2,7 @@ ARG BASE_IMAGE=khhwtml02t.wanhai.com:8182/jboss/wildfly-tml:latest
FROM $BASE_IMAGE
#set environment
ENV JAVA_OPTS="-Dcom.wanhai.tml.yard.current=TXGW -Dsentry.dsn=http://d5756310a31a47909989df81461b1da1:bfb176b900fb498c8e3b60d31d12c23f@khhwtml02t.wanhai.com:9000/2 -Dsentry.stacktrace.app.packages=com.wanhai.tml -Dsentry.release=0.1.0 -Dsentry.environment=${profile}"
ENV JAVA_OPTS="-Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -XX:+UseParallelGC -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=$JBOSS_MODULES_SYSTEM_PKGS -Djava.awt.headless=true -Dcom.wanhai.tml.yard.current=TXGW -Dsentry.dsn=http://d5756310a31a47909989df81461b1da1:bfb176b900fb498c8e3b60d31d12c23f@khhwtml02t.wanhai.com:9000/2 -Dsentry.stacktrace.app.packages=com.wanhai.tml -Dsentry.release=0.1.0 -Dsentry.environment=${profile}"
#prepare tmp dir
COPY --chown=jboss . ${JBOSS_HOME}/config

Loading…
Cancel
Save