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:
parent
b6aeb90c15
commit
8cc22c4717
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue