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
Thanks for reporting this. The intention was that you'd just read from the stream, and it'd reset its buffer itself. The ChannelPipedInputStream does call ByteArrayBuffer.compact() when more than 32kb have been read, or when all available data has been read.
However: when all has been read, then ByteArrayBuffer.compact() does not resize the array but only resets the write and read positions. That's not good.
This will need to be fixed in ChannelPipedInputStream so that the buffer array is cleared on EOF, and is indeed re-set to some small size if all currently available data has been read.
Default implementation. Each cache session occupies 512 KB.
The text was updated successfully, but these errors were encountered: