Skip to content

Commit

Permalink
Add back in memory limit
Browse files Browse the repository at this point in the history
  • Loading branch information
Tmonster committed Jul 4, 2024
1 parent a1e3845 commit 6ee3287
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions duckdb-latest/join-duckdb-latest.R
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ if (less_cores) {
ncores = min(ncores, 40)
}
invisible(dbExecute(con, sprintf("PRAGMA THREADS=%d", ncores)))
invisible(dbExecute(con, "SET memory_limit='210GB'"))
git = dbGetQuery(con, "SELECT source_id FROM pragma_version()")[[1L]]

invisible({
Expand Down
1 change: 1 addition & 0 deletions duckdb/join-duckdb.R
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ if (less_cores) {
}

invisible(dbExecute(con, sprintf("PRAGMA THREADS=%d", ncores)))
invisible(dbExecute(con, "SET memory_limit='210GB'"))
git = dbGetQuery(con, "SELECT source_id FROM pragma_version()")[[1L]]

invisible({
Expand Down

0 comments on commit 6ee3287

Please sign in to comment.