Skip to content

Conversation

@jycor
Copy link
Contributor

@jycor jycor commented Jan 10, 2025

Once we spool a batch of rows to client, there's no reason to keep them in memory.

Fixes dolthub/dolt#8718

Copy link
Contributor

@max-hoffman max-hoffman left a comment

Choose a reason for hiding this comment

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

lgtm, good find. this might improve sysbench perf too

Comment on lines 683 to 685
if len(r.Rows) == 0 {
print()
}
Copy link
Contributor

Choose a reason for hiding this comment

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

undo

@jycor jycor merged commit 29e26f9 into main Jan 10, 2025
8 checks passed
@jycor jycor deleted the james/memory branch January 10, 2025 21:24
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.

mydumper OOMs in deterministic fashion for large database

3 participants