Skip to content

V1.5.26 - #791

Merged
flarco merged 2 commits into
mainfrom
v1.5.26
Aug 17, 2026
Merged

V1.5.26#791
flarco merged 2 commits into
mainfrom
v1.5.26

Conversation

@flarco

@flarco flarco commented Aug 17, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

flarco added 2 commits August 17, 2026 05:57
DuckDB sizes its read_csv buffer as 16 × max_line_size and allocates it
eagerly. The 256MB max_line_size raise (issue #787) thus demanded a
4 GiB block, causing OOM errors on hosts with a smaller memory_limit.

Extract the read_csv from-expression into a new ReadCsvExpr helper that
sets an explicit buffer_size equal to max_line_size, capping the
allocation at the minimum needed to fit one line.

Also add support for the memory_limit DuckDB session property, plus a
regression unit test and replication config exercising a 5MB line under
a 1GB memory limit.
@flarco
flarco merged commit d1772b5 into main Aug 17, 2026
1 check passed
@flarco
flarco deleted the v1.5.26 branch August 17, 2026 10:09
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.

1 participant