You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As the messages in topic are stored in compressed state, this size presents a compressed data, that can differ a lot in case of high compression ratio. At the same time, YDB SDK sets bytes limit as settings.getMaxMemoryUsageBytes(), the limit considered by users as a memory limit for the session.
If we decompress all the received batch, it can lead to significant increase of the memory used by the session.
The proposed solution is not to decompress all messages, rather do it partially, so that the used amount of memory would be more controlable.