You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Snapshot feature consumes excessive disk space (170GB+ in my case) #17753
Same issue here, I would like to have a better fix than just a warning that it eats so much storage. What information can I provide to aid with the solution? I assume its a bug, there is no reason to store GBs of information for code changes. I had it in previous versions of opencode, it would be great if there was a cleanup feature to delete specific snapshot content for older sessions.
This should be fixed by commit 0a80ef4 which adds a 2MB file size limit for snapshotting. Files over 2MB are now excluded from git snapshots, reducing overall snapshot storage consumption.
Activity
github-actions commentedon Mar 16, 2026
This issue might be a duplicate of existing issues. Please check:
If your issue is the same, please consider adding a "+1" or additional context to one of those existing issues rather than opening a new one.
fix(snapshot): add disk space warning when snapshot grows large
JinHanAI commentedon Mar 16, 2026
I've submitted PR #17757 to address this issue.
JinHanAI commentedon Mar 16, 2026
Reopened as PR #17811 with proper template format.
fix(snapshot): add disk space warning when snapshot grows large
Znerual commentedon Mar 23, 2026
Same issue here, I would like to have a better fix than just a warning that it eats so much storage. What information can I provide to aid with the solution? I assume its a bug, there is no reason to store GBs of information for code changes. I had it in previous versions of opencode, it would be great if there was a cleanup feature to delete specific snapshot content for older sessions.
thdxr commentedon Mar 25, 2026
This should be fixed by commit 0a80ef4 which adds a 2MB file size limit for snapshotting. Files over 2MB are now excluded from git snapshots, reducing overall snapshot storage consumption.