Elastic consuming a lot of RAM and server CPU

192 views Asked by At

Elastic APM is causing a memory leak in high data processing microservices in .net core 6 and using version 1.22.0 of Elastic.Apm.NetCoreAll and Elastic.Apm.StackExchange.Redis, thus consuming a lot of ram from the server

Has anyone experienced this and could you suggest/help how to reduce RAM usage and CPU consumption in this case?

Thanks in advance

I tried to optimize the apm performance settings as per the documentation "TransactionSampleRate": 0.2 "StackTraceLimit": 0, "SpanStackTraceMinDuration": "10ms", "CaptureHeaders": false, "MetricsInterval": "1s", "Enabled": true https://www.elastic.co/guide/en/apm/agent/dotnet/current/performance-tuning.html#performance-tuning-stack-traces

But there was no significant improvement

0

There are 0 answers