Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory concerns for apps that runs 24/7, like "forever" #109

Open
Spiralis opened this issue Oct 22, 2015 · 1 comment
Open

Memory concerns for apps that runs 24/7, like "forever" #109

Spiralis opened this issue Oct 22, 2015 · 1 comment

Comments

@Spiralis
Copy link

We have a series of applications that run 24/7 for months and months at a time. Should I be concerned about ever increasing memory use by Metrics.NET - or is the internal data-structure set up to have a finite size?

This is a conceptual question, and I am not actually interested in one specific use-case, so the number of metrics, counters, meters and so on should not matter. However, there might be different concerns in regards to how metric-types use memory over time perhaps?

Finally, will using any reporters have an impact on the above? I guess not, but find that I have to ask :)

@mnadel
Copy link

mnadel commented Nov 18, 2015

It uses reservoir sampling to keep the data set finite.

Its implementation is here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants