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

Process memory usage metric via VmRss from /proc/self/status #43

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

dmalkr
Copy link

@dmalkr dmalkr commented Mar 3, 2020

Here I add measure of memory used by process with VmRss from Linux file /proc/self/status.

It can be used to measure FFI-based Haskell programs, when max_mem_in_use_bytes from GHC.Stats is not gets any information.

@chrisdone
Copy link
Contributor

I like this idea. There are some issues that would need to be resolved before I could merge it which I'll comment on in the code.

@dmalkr
Copy link
Author

dmalkr commented Mar 4, 2020

There are some issues that would need to be resolved

Well, I wait for them and ready to fix.

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

Successfully merging this pull request may close these issues.

None yet

2 participants