Skip to content

Commit

Permalink
reduce stack sizes across the board
Browse files Browse the repository at this point in the history
By default, each thread consumes 8MB of memory for the stack which can quickly
stack as machines have more cores and, especially during status, more threads
are started than there are cores. This overcommitting is by design, but
at least we should make sure that memory doesn't grow unnecessarily.

Especially iterators know the code they execute, hence these versions
should have a way to tune the stack size to reduce the peak memory footprint.
  • Loading branch information
Byron committed Mar 24, 2024
1 parent d82199c commit 4240074
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 4240074

Please sign in to comment.