Opencode using up 380GB in ~/.local/share/opencode/snapshot/objects #6927

Closed
opened 2026-02-16 18:05:37 -05:00 by yindo · 1 comment
Owner

Originally created by @peterdonaghey on GitHub (Jan 20, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

Image

This is too much

Plugins

None

OpenCode version

1.1.26

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

Image

No response

Terminal

No response

Originally created by @peterdonaghey on GitHub (Jan 20, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description <img width="407" height="215" alt="Image" src="https://github.com/user-attachments/assets/c123485f-6091-4860-9980-d481f0dc749d" /> This is too much ### Plugins None ### OpenCode version 1.1.26 ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System <img width="207" height="143" alt="Image" src="https://github.com/user-attachments/assets/6687e763-5d88-4121-8570-92687d5f3ddc" /> _No response_ ### Terminal _No response_
yindo added the bugperf labels 2026-02-16 18:05:37 -05:00
yindo closed this issue 2026-02-16 18:05:37 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 20, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #6845: HUGE snapshot folder (169GB in ~/.local/share/opencode/snapshot)
  • #8577: Snapshot feature needs safeguards for large directories (home directory filled disk)
  • #8887: [BUG] Snapshot module ignores 'watcher.ignore' config, causing excessive disk usage and performance degradation
  • #3182: Very slow session due to 98GB of git snapshots
  • #8749: [BUG] tmp_pack Files Consuming 180GB on Ubuntu 24.04 LTS

All of these issues describe the same core problem: OpenCode's snapshot feature is consuming excessive disk space (100GB+) in ~/.local/share/opencode/snapshot/objects/. The root causes appear to be:

  1. Temporary pack files not being cleaned up
  2. Large directories (including ignored files) being tracked without safeguards
  3. Snapshot module ignoring watcher.ignore configuration

Feel free to ignore if your specific case differs, but these existing issues may provide workarounds or context for the underlying problem.

@github-actions[bot] commented on GitHub (Jan 20, 2026): This issue might be a duplicate of existing issues. Please check: - #6845: HUGE snapshot folder (169GB in ~/.local/share/opencode/snapshot) - #8577: Snapshot feature needs safeguards for large directories (home directory filled disk) - #8887: [BUG] Snapshot module ignores 'watcher.ignore' config, causing excessive disk usage and performance degradation - #3182: Very slow session due to 98GB of git snapshots - #8749: [BUG] tmp_pack Files Consuming 180GB on Ubuntu 24.04 LTS All of these issues describe the same core problem: OpenCode's snapshot feature is consuming excessive disk space (100GB+) in ~/.local/share/opencode/snapshot/objects/. The root causes appear to be: 1. Temporary pack files not being cleaned up 2. Large directories (including ignored files) being tracked without safeguards 3. Snapshot module ignoring watcher.ignore configuration Feel free to ignore if your specific case differs, but these existing issues may provide workarounds or context for the underlying problem.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#6927