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

Allow specifying maximum memory usage #551

Closed
matthiasr opened this Issue Feb 23, 2015 · 2 comments

Comments

Projects
None yet
2 participants
@matthiasr
Copy link
Contributor

matthiasr commented Feb 23, 2015

The actual memory usage can not really be set predictably through storage.local.memory-chunks alone. To operate a Prometheus reliably, it would me much nicer to just say "you can use this much memory". It should be able to figure out by itself what that means in terms of chunks or allocations.

It would be good if this is a hard limit (including all other memory uses) but a best effort would already help a lot (together with rules of thumb on overhead).

The default should be a sensible fraction of available system memory, or some fixed number, whichever is lower.

@beorn7 beorn7 added the duplicate label Feb 23, 2015

@beorn7

This comment has been minimized.

Copy link
Member

beorn7 commented Feb 23, 2015

See
#455

@beorn7 beorn7 closed this Feb 23, 2015

simonpasquier pushed a commit to simonpasquier/prometheus that referenced this issue Oct 12, 2017

Merge pull request prometheus#551 from brian-brazil/do
Add interview with Digital Ocean
@lock

This comment has been minimized.

Copy link

lock bot commented Mar 24, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Mar 24, 2019

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.