Our team diagnosing the memory leak issue have performed multiple heap dumps, and have found that APM agent is a leak suspect consuming a large percentage of the heap. We have investigated the classes but did not find a known issue. We need an analysis of these dumps and an explanation of why the heap consumption is so high when APM Agent is enabled.
Environment
Release : 10.7.0
Component : APM Agents
Resolution
Redhat support was engaged and they found that the nproc ulimit needed to be raised. It was found that the thread out of memory was not memory at all, and was the OS / App hitting the nproc setting on the server. We are finding that that the application server is consuming an enormous amount of nprocs when the behavior occurs. APM agent does not cause any nproc issues. It may be application or system issues, which might have caused this issue.