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

High Memory Usage: Snappy Encoding #76

Open
Kaushal28 opened this issue Feb 13, 2024 · 0 comments
Open

High Memory Usage: Snappy Encoding #76

Kaushal28 opened this issue Feb 13, 2024 · 0 comments

Comments

@Kaushal28
Copy link

Kaushal28 commented Feb 13, 2024

I have an application which writes large volume of data to Victoria Metrics using prometheus remote write API. The API specs requires compressing the data being written using snappy encoding. When I do memory profile of my application, the snappy encoding alone is using ~900MB of memory.

This is problematic because I process data in real time using multiple replicas of my application and then write the processed data to Victoria Metrics. So the total memory usage by all replicas becomes too high.

A similar issue, where snappy decode is consuming high memory in prometheus: prometheus/prometheus#13174

image
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