diff options
author | Andrew Gallant <jamslam@gmail.com> | 2019-04-14 16:46:59 -0400 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2019-04-14 19:29:27 -0400 |
commit | 8f14cb18a5aed4556e1b0c022dd189e188ca02fa (patch) | |
tree | d93e2fa419d9f5cd72af1b430eeea475e95a7fe2 /CHANGELOG.md | |
parent | da9d7204315164e3740099aac4a4b88fb743e4d5 (diff) |
ripgrep: increase pcre2's default JIT stack size
The default stack size is 32KB, and this increases it to 10MB. 32KB is
pretty paltry in the environments in which ripgrep runs, and 10MB is
easily afforded as a maximum size. (The size limit we set for Rust's
regex engine is considerably larger.)
This was motivated due to the fack that JIT stack limits have been
observed to be hit in the wild:
https://github.com/Microsoft/vscode/issues/64606
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index aab281f7..f36245f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -91,6 +91,7 @@ Bug fixes: Fix bug where `-F`/`-x` weren't applied to patterns given via `-f`. * [BUG #1189](https://github.com/BurntSushi/ripgrep/issues/1189): Document cases where ripgrep may use a lot of memory. +* BUG: Increase the default stack size for PCRE2's JIT. 0.10.0 (2018-09-07) |