Skip to content

[BUG] ETSCronFlusher high memory consumption and binaries leak #198

@IIILSW

Description

@IIILSW

Describe the bug
We have registered high memory consumption by the ETSCronFlusher process heap and large number of attached ref binaries.

In the course of our experiments, abandoning the use of Exporter and placing the process in hibernate after cleanup allowed us to reduce memory consumption under load by ~70mb

To Reproduce
Memory consumption increases steadily as the number of metrics and load increases (4k rps in our case)

Expected behavior
A clear and concise description of what you expected to happen.

Environment

  • Elixir version: 1.14.4
  • Erlang/OTP version: 25.3
  • Grafana version: -
  • Prometheus version: -

Additional context
Created PRs in prom_ex and telemetry_metrics_prometheus_core #55

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions