Fix ONOS init bug in case VM memory size is smaller than 16GB
With current setting, ONOS package cannot be instantiated when the
target VM RAM size is smaller 16GB. To make ONOS be runnable, we
should not specify the reserved JVM RAM size. As the comment noted,
JAVA_OPTS should be specified only for performance test purpose.
Change-Id: Idfa98d70d33840077851bac150b89bbfa0e1ca5d
diff --git a/tools/package/bin/onos-service b/tools/package/bin/onos-service
index db7b006..f528e53 100755
--- a/tools/package/bin/onos-service
+++ b/tools/package/bin/onos-service
@@ -4,7 +4,7 @@
# -----------------------------------------------------------------------------
# uncomment the following line for performance testing
-export JAVA_OPTS="${JAVA_OPTS:--Xms16G -Xmx16G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:+PrintGCDetails -XX:+PrintGCTimeStamps}"
+# export JAVA_OPTS="${JAVA_OPTS:--Xms16G -Xmx16G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:+PrintGCDetails -XX:+PrintGCTimeStamps}"
# uncomment the following line for Netty TLS encryption
# Do modify the keystore location/password and truststore location/password accordingly