Repository navigation
Add ignore patterns for large binary files to prevent virtual memory … - #2761
Closed
zelenkovsky wants to merge 1 commit into
Closed
zelenkovsky wants to merge 1 commit into
zelenkovsky wants to merge 1 commit into
Conversation
Uses a 2x2 matrix approach: Binary vs Text × Large vs Small BINARY FILES (always ignored): - Executables: exe, dll, so, dylib, app, dmg, pkg, msi, deb, rpm - Compiled: jar, war, ear, class, o, a, pyc, pyo, wasm - Images: jpg, jpeg, png, gif, bmp, tiff, webp, ico - Media: mp4, avi, mkv, mov, mp3, wav, flac, pdf - Cache directories: __pycache__, .cache, .pytest_cache, .tox TEXT FILES (size-filtered): - Small files (< 1MB): Included in project tree - Large files (≥ 1MB): Excluded via ripgrep --max-filesize This approach: - Preserves small archives (test fixtures, config backups) - Handles large text files (logs, data dumps) - Eliminates virtual memory allocation during startup - Provides precise filtering without performance overhead Fixes startup memory consumption with large .tar.gz files while maintaining access to legitimate small binary files.
zelenkovsky
force-pushed
the
fix/ignore-large-binary-files
branch
from
September 24, 2025 10:47
a0a7178 to
5b5daa9
Compare
github-actions
Bot
force-pushed
the
dev
branch
from
September 29, 2025 05:53
f16de3d to
cc0d460
Compare
github-actions
Bot
force-pushed
the
dev
branch
from
November 10, 2025 05:42
772b621 to
eb855e1
Compare
github-actions
Bot
force-pushed
the
dev
branch
3 times, most recently
from
November 22, 2025 18:07
f1dc981 to
3e15a39
Compare
github-actions
Bot
force-pushed
the
dev
branch
3 times, most recently
from
November 27, 2025 01:29
f8ee907 to
6a9856d
Compare
opencode-agent
Bot
force-pushed
the
dev
branch
from
January 30, 2026 14:32
00637c0 to
71e0ba2
Compare
thdxr
force-pushed
the
dev
branch
3 times, most recently
from
January 30, 2026 14:37
f1ae801 to
08fa7f7
Compare
Contributor
|
Closing this pull request because it has had no updates for more than 60 days. If you plan to continue working on it, feel free to reopen or open a new PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Try to exclude potentially large binary files to avoid memory overcommitement issue (#2585)
This resolves high virtual memory consumption during startup when large archive files are present in the working directory.