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
[BUG] Ubuntu 22.04 Temp_Pack Files Using All of the Storage #5617
I am using Ubuntu 22.04 and when I open and work on the opencode cli, my storage is getting used by something. I realized that tmp_pack files are using all my storage and This does not make sense for me. In just 10 minutes of work, It used "79GBs" of storage. This is the relevant state:
This issue might be a duplicate of existing issues. Please check:
Session grew to 88G! #1126: Session grew to 88G! - Similar issue where sessions accumulate large amounts of storage in git object files (~/.local/share/opencode/project/.../snapshot)
The root cause appears to be the same: OpenCode sessions create git repositories internally and these repositories can grow to massive sizes (tens of GB) during normal usage. In your case, tmp_pack files are using 79GB in just 10 minutes. In #1126, a single session grew to 88G due to corrupted git objects.
Feel free to ignore if your case involves something different, but this might have valuable context about the session storage mechanism.
Activity
github-actions commentedon Dec 16, 2025
This issue might be a duplicate of existing issues. Please check:
The root cause appears to be the same: OpenCode sessions create git repositories internally and these repositories can grow to massive sizes (tens of GB) during normal usage. In your case, tmp_pack files are using 79GB in just 10 minutes. In #1126, a single session grew to 88G due to corrupted git objects.
Feel free to ignore if your case involves something different, but this might have valuable context about the session storage mechanism.