Restrict max JVM heap size to 16
diff --git a/src/test/utils/CordContainer.py b/src/test/utils/CordContainer.py
index 214239f..0628f9f 100644
--- a/src/test/utils/CordContainer.py
+++ b/src/test/utils/CordContainer.py
@@ -171,6 +171,7 @@
                 mem += int(m.split(':')[1].strip().split()[0])
 
         mem = max(mem/1024/1024, 1)
+        mem = min(mem, 16)
         return str(mem) + 'G'
 
 class Onos(Container):