[PR #2761] Add ignore patterns for large binary files to prevent virtual memory … #10434

Closed
opened 2026-02-16 18:15:05 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/2761

State: closed
Merged: No


Try to exclude potentially large binary files to avoid memory overcommitement issue (https://github.com/sst/opencode/issues/2585)

  • Added archive files: tar.gz, tgz, tar, zip, 7z, rar, bz2, xz, gz, lz4, zst
  • Added database files: db, sqlite, sqlite3
  • Added binary executables: exe, dll, so, dylib, app, dmg, pkg, msi, deb, rpm
  • Added compiled artifacts: jar, war, ear, class, o, a, pyc, pyo
  • Added media files: mp4, avi, mkv, mov, mp3, wav, flac, pdf
  • Added cache directories: pycache, .cache, cache, .pytest_cache, .tox

This resolves high virtual memory consumption during startup when large archive files are present in the working directory.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/2761 **State:** closed **Merged:** No --- Try to exclude potentially large binary files to avoid memory overcommitement issue (https://github.com/sst/opencode/issues/2585) - Added archive files: tar.gz, tgz, tar, zip, 7z, rar, bz2, xz, gz, lz4, zst - Added database files: db, sqlite, sqlite3 - Added binary executables: exe, dll, so, dylib, app, dmg, pkg, msi, deb, rpm - Added compiled artifacts: jar, war, ear, class, o, a, pyc, pyo - Added media files: mp4, avi, mkv, mov, mp3, wav, flac, pdf - Added cache directories: __pycache__, .cache, cache, .pytest_cache, .tox This resolves high virtual memory consumption during startup when large archive files are present in the working directory.
yindo added the pull-request label 2026-02-16 18:15:05 -05:00
yindo closed this issue 2026-02-16 18:15:05 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#10434