Skip to content

Conversation

@kosak
Copy link
Contributor

@kosak kosak commented Jan 15, 2026

Rather than waiting for the largeArray slots to all fill, we keep track of the total number of bytes hanging off the largeArray queue. When it reaches a certain threshold we flush it and allocate a new one. This should prevent the JVM from needlessly holding on to a large array referring to a large number of bytes.

@kosak kosak requested a review from lbooker42 January 15, 2026 04:46
@kosak kosak self-assigned this Jan 15, 2026
@kosak kosak force-pushed the kosak_large-array-smaller-chunks branch from 10a8c62 to da913df Compare January 15, 2026 15:51
@kosak kosak merged commit 00b25dc into deephaven:main Jan 15, 2026
3 checks passed
@kosak kosak deleted the kosak_large-array-smaller-chunks branch January 15, 2026 17:58
@github-actions github-actions bot locked and limited conversation to collaborators Jan 15, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants