Swap memory increasing all the time

book

Article ID: 193117

calendar_today

Updated On:

Products

CA Application Performance Management Agent (APM / Wily / Introscope) CA Application Performance Management (APM / Wily / Introscope) INTROSCOPE DX Application Performance Management

Issue/Introduction

Server have Introscope Enterprise Manager and Introscope WebView installed and the server is using large amount of swap memory.

Introscope manager is set to Xms14336M -Xmx14336M and introscope webview is set to Xms14336M -Xmx14336M

 

Environment

Release : 10.7.0

Component : APM Agents

Resolution

From reviewing the setting to both EM and WebView, both have -Xms14336M and -Xmx14336M and the server itself have only 32GB RAM.

Those settings are allocated most of the physical memory to just 2 processes which does not account for other processes that are using physical memory like postgres, etc.

As a result of lack of free memory, the OS is using up swap memory.

Configure EM and WebView with 5GB for -Xms, this way it will allocate 5GB when the process starts and will allocate more memory as needed instead of allocating all 14GB during startup.