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

Excessive memory consumption when using ZSTD to receive compressed data #11824

Open
djluck opened this issue Dec 9, 2024 · 2 comments
Open
Labels
bug Something isn't working

Comments

@djluck
Copy link

djluck commented Dec 9, 2024

Describe the bug
We've seen excessive memory consumption that leads to OOMs when receiving ZSTD-compressed data.

Steps to reproduce

  1. Enable zstd compression for the HTTP exporter in an upstream collector
  2. Observe OOMs in your receiving collector!

You can observe excessive memory via pprof:
image

What version did you use?
v0.114.0

@djluck djluck added the bug Something isn't working label Dec 9, 2024
@atoulme
Copy link
Contributor

atoulme commented Dec 11, 2024

Might this be something to report upstream to the zstd lib? https://github.com/klauspost/compress
Please attach the full pprof dump?

@djluck
Copy link
Author

djluck commented Dec 12, 2024

Unfortunately I can't seem to locate a copy of the original trace dump. Due to time commitments I'll be unlikely to recreate this issue, sorry that the above isn't as much to go on as would be ideal but hopefully others can provide dumps when/ if they run into this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants