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

Need clarity around memory profile #130

Open
angad-z opened this issue Dec 29, 2023 · 0 comments
Open

Need clarity around memory profile #130

angad-z opened this issue Dec 29, 2023 · 0 comments

Comments

@angad-z
Copy link

angad-z commented Dec 29, 2023

I initialized freecache with 2GB of memory in a production environment (with some other processes also running)
My memory utilization is only 600MB (it should ideally be 2.6GB considering freecache pre-allocates memory).

Then I ran a similar setup locally, htop shows that the go process is only taking 150MB, but with 2GB freecache, it should take 2.15 GB.

OS shows that the go process is actually taking less memory, but all go profilers are showing otherwise. Here's a screenshot of the memory profile using pprof:

image

Need clarity around what is happening.

@angad-z angad-z closed this as completed Dec 31, 2023
@angad-z angad-z reopened this Dec 31, 2023
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

1 participant