-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
High memory usage? #96
Comments
Couple questions:
I took a quick look at my install for reference, which backs up two different servers to a NAS for me, using SSH rather than Docker to communicate with the servers. RSS (resident memory) looks normal at about 45MB. I do also see 1GB for VSZ, but digging in further, about half of this is for pages that have zero actual impact on the system other than the virtual address mapping existing. They aren't resident in RAM, have no dirty bytes, and aren't even listed as impacting swap. They only exist as an entry in the process' memory table. Digging in further, the remaining gap seems to be pages that aren't dirty. So there will be a rather sizable memory mapping done (~64MB), only a fraction of that will be in use. So while the vast majority of this is empty, it counts the full 64MB entry against VSZ. So three things I think can be taken away from this:
I can see if one of the other allocators available does better in this scenario. |
I observed the 1GB usage in the Stats tab of Portainer for the container, so however that messages usage. Noticed the container had been up for about a month so restarted it and usage dropped down to about 64MB so I don't know if there's some kind of leak or Portainer is doing dodgy reporting! |
bedrocikifierd seems to use 1GB memory, is that expected?
The text was updated successfully, but these errors were encountered: