netty5/buffer/src
Norman Maurer 965734a1eb
Limit the number of bytes to use to copy the content of a direct buffer to an Outputstream (#7813)
Motivation:

Currently copying a direct ByteBuf copies it fully into the heap before writing it to an output stream.
The can result in huge memory usage on the heap.

Modification:

copy the bytebuf contents via an 8k buffer into the output stream

Result:

Fixes #7804
2018-03-29 12:49:27 +02:00
..
main/java/io/netty/buffer Limit the number of bytes to use to copy the content of a direct buffer to an Outputstream (#7813) 2018-03-29 12:49:27 +02:00
test/java/io/netty/buffer FixedCompositeByteBuf should allow to access memoryAddress / array when wrap a single buffer. 2018-03-13 08:50:42 +01:00