updating JAVA_OPTS in onos-service
Change-Id: Iea6c405a8da14841341febee74699d7537661da2
Showing
1 changed file
with
2 additions
and
3 deletions
... | @@ -3,9 +3,8 @@ | ... | @@ -3,9 +3,8 @@ |
3 | # Starts ONOS Apache Karaf container | 3 | # Starts ONOS Apache Karaf container |
4 | # ----------------------------------------------------------------------------- | 4 | # ----------------------------------------------------------------------------- |
5 | 5 | ||
6 | -#export JAVA_HOME=${JAVA_HOME:-/usr/lib/jvm/java-7-openjdk-amd64/} | 6 | +# uncomment the following line for performance testing |
7 | -export JAVA_OPTS="${JAVA_OPTS:--Xms512m -Xmx2G}" | 7 | +#export JAVA_OPTS="${JAVA_OPTS:--Xms8G -Xmx8G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:+PrintGCDetails -XX:+PrintGCTimeStamps}" |
8 | -# export JAVA_OPTS="${JAVA_OPTS:--Xms2G -Xmx8G}" # -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:+PrintGCDetails -XX:+PrintGCTimeStamps}" | ||
9 | 8 | ||
10 | ONOS_HOME=/opt/onos | 9 | ONOS_HOME=/opt/onos |
11 | 10 | ... | ... |
-
Please register or login to post a comment