Skip to content

High memory usage with encoder #750

Answered by klauspost
brenol asked this question in Q&A
Feb 10, 2023 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

There are three ways to control memory:

First WithLowerEncoderMem will trade a few more allocations for less static memory.

Reducing WithWindowSize (default 8MB) will trade a bit of compression for less memory or WithEncoderConcurrency will allocate less encoders and therefore keep less buffers.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@brenol
Comment options

@klauspost
Comment options

Answer selected by brenol
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants