acogoluegnes opened a new pull request, #25:
URL: https://github.com/apache/qpid-protonj2/pull/25

   Binary values were decoded as a read-only copy of the source buffer, which 
for a read-only Netty buffer is a retained slice. A small binary such as the 
message properties user-id then kept the whole pooled read buffer alive until 
the Binary was garbage collected. Since Netty direct memory usage does not 
trigger GC, receivers could run out of direct memory while the heap was far 
from full.
   
   Copy binary values into a heap buffer when decoding, as is already done for 
Data sections.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to