Skip to content
This repository has been archived by the owner on Jan 16, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant