Skip to content

Release 1.2.0

Choose a tag to compare

@guss77 guss77 released this 29 Jan 15:51
· 50 commits to main since this release
  • Allow better control of memory usage by limiting buffer chunk sizes:
    The WriteStream.setWriteQueueMaxSize() method to set the write queue size may be of limited utility when we have no control of the block size of the Buffer objects that are submitted to the WriteStream. To solve this, this version adds a WriteToInputStream.setMaxChunkSize(int) method that allows setting a maximum size for the buffers in the queue. With that limit set, incoming buffers will be split if they are larger than the specified size, so that the maximum memory use of the stream should no exceed QueueMaxSize * MaxChunkSize (excluding overhead).