From 9f07acee749ff2d5781025f634c02d66c6d7ca9a Mon Sep 17 00:00:00 2001 From: SanthoshGujulvajagadeesh <68006718+SanthoshGujulvajagadeesh@users.noreply.github.com> Date: Fri, 19 Jun 2026 06:25:04 +0000 Subject: [PATCH] update minimum NI memory limit to 30MB --- scripts/advsec_cpu_mem_recovery.sh | 2 +- source/AdvSecurityDml/cosa_adv_security_dml.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/advsec_cpu_mem_recovery.sh b/scripts/advsec_cpu_mem_recovery.sh index f685ae8..eda1d54 100644 --- a/scripts/advsec_cpu_mem_recovery.sh +++ b/scripts/advsec_cpu_mem_recovery.sh @@ -45,7 +45,7 @@ fi NI_ENABLE=$(dmcli eRT retv Device.DeviceInfo.X_RDKCENTRAL-COM_RFC.Feature.NetworkIntelligence.Enable) # Default NI memory hard limit in MB -NI_MEM_HARD_LIMIT=25 +NI_MEM_HARD_LIMIT=30 #syscfg contains value in MB. ni_max_rss=$(syscfg get Advsecurity_NetworkIntelligenceMemoryLimit) diff --git a/source/AdvSecurityDml/cosa_adv_security_dml.c b/source/AdvSecurityDml/cosa_adv_security_dml.c index 2d64122..bfbea2c 100644 --- a/source/AdvSecurityDml/cosa_adv_security_dml.c +++ b/source/AdvSecurityDml/cosa_adv_security_dml.c @@ -31,7 +31,7 @@ #define MIN_AGENT_MEMORY_HARD_LIMIT 45 #define MAX_RABID_MACCACHE_SIZE 32768 #define MAX_RABID_DNSCACHE_SIZE 32768 -#define MIN_NI_MEMORY_HARD_LIMIT 25 +#define MIN_NI_MEMORY_HARD_LIMIT 30 extern COSA_DATAMODEL_AGENT* g_pAdvSecAgent; extern pthread_mutex_t logMutex;