Enable G1 garbage collector

* operate concurrently with applications threads
* compact free space without lengthy GC induced pause times
* more predictable GC pause durations
* better throughput performance
* not require a much larger Java heap

JIRA: FUEL-187
Change-Id: I42b95969613495d44d3ea1a4fcaae20ed01a26fb
This commit is contained in:
Michael Polenchuk 2016-08-31 11:20:24 +03:00
parent 694ec577fb
commit b205bd246b
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 -Xmx3096M -XX:+UnlockDiagnosticVMOptions -XX:+UnsyncloadClass -Dcom.sun.management.jmxremote"
env JAVA_OPTS="-server -Xms1g -Xmx2g -XX:+UseG1GC -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"