mirror of
https://github.com/opennetworkinglab/onos.git
synced 2026-05-04 19:56:49 +02:00
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
This commit is contained in:
parent
6e9b6f5035
commit
bf7598ff39
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user