flask_prometheus_metrics icon indicating copy to clipboard operation
flask_prometheus_metrics copied to clipboard

Leaks memory while running

Open pderaaij opened this issue 5 years ago • 0 comments

In one of our services, we have been making use of this project. Over time we found that the project is causing a memory leak over a long period. Steadily it increases the Maximum Resident Set Size. When it hits our maximum the entire service has to be restarted to resume operations.

We've been running without the collector for several hours now and the memory usage doesn't grow.

It feels a memory leak is present in either this project or one of its dependencies. Unfortunately, I am not a python expert and can help out in debugging.

pderaaij avatar Nov 28 '19 14:11 pderaaij