commit | c0421e88920e33cdb0dcf5f55e622d193a5c458d | [log] [tgz] |
---|---|---|
author | Chetan Gaonker <chetang@calsoftlabs.com> | Wed May 04 17:23:08 2016 -0700 |
committer | Chetan Gaonker <chetang@calsoftlabs.com> | Wed May 04 17:23:08 2016 -0700 |
tree | 146eb5883fd68d9908b8b25f4f59c28ec37cea3d | |
parent | cc19ac4668287ab41048ae910e92d59fc83352ed [diff] |
Setting JVM heap size for ONOS to half the available memory available
diff --git a/src/test/utils/CordContainer.py b/src/test/utils/CordContainer.py index 1b44abf..ad3194d 100644 --- a/src/test/utils/CordContainer.py +++ b/src/test/utils/CordContainer.py
@@ -170,7 +170,7 @@ if m.startswith('MemTotal:') or m.startswith('SwapTotal:'): mem += int(m.split(':')[1].strip().split()[0]) - mem = max(mem/1024/1024, 1) + mem = max(mem/1024/1024/2, 1) mem = min(mem, 16) return str(mem) + 'G'