EPAgent getting more memory ( > 5GB )
The Values in EPAservice.conf max and min java parameters are NOT picking up
but it shows initial value only (512m) on ps -ef | grep java
Only want to allocate a Max value of 1024m to the Agent
Release : 10.7.0
Component : APM Agents
Resident memory in top and heap memory in Investigator shows only 500 MB of resident memory being used. So Xms/Xmx is used to configure the Heap size, which is part of Resident memory. We can not configure either Resident/Virtual memory size from a java app.
The Resident memory tells how much physical memory (RAM) a process is using, while the Virtual memory tells how much memory a process thinks it’s using, so it's usually not a indication of resource usage.
More on virtual memory metric and why not to rely on it for actual virtual memory use-- https://serverfault.com/questions/138427/what-does-virtual-memory-size-in-top-mean