add more max memory to the java vm

When running functes ODL crashes in the middel
and is not starting again. Investigtion
showed that it is due to insufficient memory
of the java vm.

Change-Id: I57efce98838323a05e453df52a40f0c9b9401548
This commit is contained in:
Nikolas Hermanns 2016-08-19 00:25:09 +02:00
parent b6aeb90c15
commit 8cc22c4717
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ setgid odl
setuid odl
env KARAF_HOME="/opt/opendaylight"
env JAVA_OPTS="-server -Xms256M -Xmx2048M -XX:+UnlockDiagnosticVMOptions -XX:+UnsyncloadClass -Dcom.sun.management.jmxremote"
env JAVA_OPTS="-server -Xms256M -Xmx3096M -XX:+UnlockDiagnosticVMOptions -XX:+UnsyncloadClass -Dcom.sun.management.jmxremote"
env OPTS="-Dkaraf.startLocalConsole=false -Dkaraf.startRemoteShell=true"
env MAIN="org.apache.karaf.main.Main"
env DEBUG="false"