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

Substantially increased memory overhead #2995

Open
dreamerlzl opened this issue Oct 18, 2024 · 4 comments
Open

Substantially increased memory overhead #2995

dreamerlzl opened this issue Oct 18, 2024 · 4 comments

Comments

@dreamerlzl
Copy link
Contributor

dreamerlzl commented Oct 18, 2024

Parca-agent pods seem to use more memory with v0.32.0

A memory profiling is like the following:

profile002

The total memory usage of the parca-agent pod can surpass 500MB on my side from time to time without much conf change.

@dreamerlzl
Copy link
Contributor Author

Testing v0.34.0 for this to see whether it has been fixed...

@brancz
Copy link
Member

brancz commented Oct 18, 2024

Thank you for reporting! Which version were you on before, and how much was it before?

@dreamerlzl
Copy link
Contributor Author

dreamerlzl commented Oct 22, 2024

Thank you for reporting! Which version were you on before, and how much was it before?

I am using v0.31 before, and the memory overhead of that is within 200 ~ 350 MB

@dreamerlzl
Copy link
Contributor Author

dreamerlzl commented Oct 22, 2024

/debug/pprof/heap?debug=1
heap_debug_1.txt

/debug/pprof/heap
heap.gz

the alloc_space looks like this:
Screenshot 2024-10-22 at 10 17 49

it seems like we can only set a higher memory limit; there are no filtering at all in opentelemetry-ebpf-profiler and all the processes' ELFs are handled and thus memory/heapIdle spikes could be high

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