Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
None
-
None
-
None
Description
We currently do down conversion before throttling. This is good from the perspective of getting the correct message size, but it means that we can cause OOMs due to excessive memory retention. That is, by performing down conversion, we are loading the records into the heap even though we are not ready to send them yet.
It would be preferable to throttle before down conversion.
In addition, we currently updates bytesOut before throttling. We should do it after throttling as well.
Attachments
Issue Links
- links to