From 7c7ba5c9a46d5aad403e0a32a243a36cda736087 Mon Sep 17 00:00:00 2001
From: Charalampos Kominos <Charalampos.Kominos@enea.com>
Date: Wed, 28 Mar 2018 14:05:09 +0200
Subject: [odl] Configure Odl memory requirements

Odl scripts present in /opt/opendaylight crash with
out-of-memory errors and we cannot use them so we add more memory
to the ODL virtual machine and to the JVM.

Change-Id: Ia29a324ca34b5d33e947ca6d177ce3567316dcb9
Signed-off-by: Charalampos Kominos <charalampos.kominos@enea.com>
---
 .../classes/cluster/mcp-pike-odl-ha/opendaylight/control.yml.j2       | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'mcp/reclass/classes/cluster/mcp-pike-odl-ha/opendaylight')

diff --git a/mcp/reclass/classes/cluster/mcp-pike-odl-ha/opendaylight/control.yml.j2 b/mcp/reclass/classes/cluster/mcp-pike-odl-ha/opendaylight/control.yml.j2
index 8873209cc..90efb945f 100644
--- a/mcp/reclass/classes/cluster/mcp-pike-odl-ha/opendaylight/control.yml.j2
+++ b/mcp/reclass/classes/cluster/mcp-pike-odl-ha/opendaylight/control.yml.j2
@@ -19,8 +19,8 @@ parameters:
     server:
       odl_bind_ip: ${_param:single_address}
       odl_rest_port: 8282
-      java_min_mem: 4g
-      java_max_mem: 4g
+      java_min_mem: 6g
+      java_max_mem: 6g
       router_enabled: true
       karaf_features:
         odl_default:
-- 
cgit 1.2.3-korg