Skip to content

Conversation

@williamhbaker
Copy link
Contributor

A large number of journals being read can cause a significant amount of memory usage from pre-allocating buffers, especially if a high percentage of journals rarely get new data.

Waiting to allocate the read buffer until the first read reduces memory usage when many read streams are opened but only a few have data available to read.

A large number of journals being read can cause a significant amount of memory
usage from pre-allocating buffers, especially if a high percentage of journals
rarely get new data.

Waiting to allocate the read buffer until the first read reduces memory usage
when many read streams are opened but only a few have data available to read.
Copy link
Contributor

@jgraettinger jgraettinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@williamhbaker williamhbaker merged commit 0f34a43 into master Dec 22, 2025
1 check passed
@williamhbaker williamhbaker deleted the wb/memory branch December 22, 2025 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants