Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(core): release extra O3 memory after WAL apply #3143

Merged
merged 3 commits into from
Apr 4, 2023

Conversation

puzpuzpuz
Copy link
Contributor

WAL apply may lead to unbounded O3 memory growth. This patch makes sure to shrink each chunk of memory back to cairo.o3.column.memory.size after each WAL apply iteration.

@puzpuzpuz puzpuzpuz added Performance Performance improvements Core Related to storage, data type, etc. labels Mar 31, 2023
@puzpuzpuz puzpuzpuz self-assigned this Mar 31, 2023
@ideoma
Copy link
Collaborator

ideoma commented Apr 3, 2023

[PR Coverage check]

😍 pass : 14 / 14 (100.00%)

file detail

path covered line new line coverage
🔵 io/questdb/cairo/TableWriter.java 14 14 100.00%

@ideoma ideoma merged commit af49c05 into master Apr 4, 2023
17 checks passed
@ideoma ideoma deleted the ap_shrink_o3_mem_after_wal_apply branch April 4, 2023 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core Related to storage, data type, etc. Performance Performance improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants