Skip to content

Commit

Permalink
#81 use the default VM values for starting and max memory
Browse files Browse the repository at this point in the history
  • Loading branch information
tobyweston committed Sep 1, 2019
1 parent d8def87 commit 6a03214
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/universal/conf/application.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
# we use a function defined in another file which is expanding via
# bashScriptExtraDefines (see https://bit.ly/2raOEN4)

-J-Xms256m
-J-Xmx512m
-Dcom.sun.management.jmxremote=true
-Dcom.sun.management.jmxremote.port=0
-Dcom.sun.management.jmxremote.authenticate=false
Expand Down
2 changes: 1 addition & 1 deletion start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ IP=$( ip -f inet addr show ${LAN} | grep -Po 'inet \K[\d.]+' )

mkdir ${TEMPERATURE_HOME} -p

nohup java -Xmx512m -Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.port=1616 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=${IP} -cp target/scala-2.12/temperature-machine-2.2.jar bad.robot.temperature.Main $@ > ${LOG_FILE} 2>&1 &
nohup java -Dcom.sun.management.jmxremote=true -Dcom.sun.management.jmxremote.port=1616 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=${IP} -cp target/scala-2.12/temperature-machine-2.2.jar bad.robot.temperature.Main $@ > ${LOG_FILE} 2>&1 &

rm -f temperature-machine.log
ln -s -F ${LOG_FILE} temperature-machine.log
Expand Down

0 comments on commit 6a03214

Please sign in to comment.