SigNoz / signoz

SigNoz is an open-source observability platform native to OpenTelemetry with logs, traces and metrics in a single application. An open-source alternative to DataDog, NewRelic, etc. 🔥 🖥. 👉 Open source Application Performance Monitoring (APM) & Observability tool
https://signoz.io
Other
18.72k stars 1.21k forks source link

High memory usage (over 9GB) of signoz collector (v0.55.0). with heapdump provided #6128

Open patrickdung opened 14 hours ago

patrickdung commented 14 hours ago

Bug description

High memory usage (>9.0GB) for the collector

   PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND
 438866 10001     20   0   12.6g  10.2g 105976 S   0.0   8.1  33:31.20 signoz-collecto

Please describe.
If this affects the front-end, screenshots would be of great help.
Resident memory is 10.2G now

Expected behavior

Low memory usage

How to reproduce

Setup signoz and receive metrics (including Clickhouse metrics)/logs

Version information

Additional context

Attach is the go lang heap dump file heap.dmp

Thank you for your bug report – we love squashing them!

welcome[bot] commented 14 hours ago

Thanks for opening this issue. A team member should give feedback soon. In the meantime, feel free to check out the contributing guidelines.