From 8cc22c4717d2da338135d854e1d13aac3ef75314 Mon Sep 17 00:00:00 2001 From: Nikolas Hermanns Date: Fri, 19 Aug 2016 00:25:09 +0200 Subject: [PATCH] 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 --- odl_package/ubuntu/opendaylight | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/odl_package/ubuntu/opendaylight b/odl_package/ubuntu/opendaylight index 836ebb9..8fdc4c9 100644 --- a/odl_package/ubuntu/opendaylight +++ b/odl_package/ubuntu/opendaylight @@ -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"