Skip to content

Opus 4.6 subagents and toolcalls use crazy cache #12708

Closed

Description

@IM-001

Description

Hi,

I think it's specific to Opus 4.6 (or maybe all agent swarms type models), but it's very difficult to work with OpenCode at the moment because my cache on my system drive goes crazy, can take almost 100gb in a few minutes. Some observations:

  • I am on windows 10, working with opencode mostly in zed, but from a normal powershell terminal
  • having the opencode cache on another drive would mitigate this
  • the problematic cache lies in /user/.local/share/opencode/snapshot/230948290834etc/objects/pack and there is a huge file tmp_pack_XXM82w

Plugins

No response

OpenCode version

all

Steps to reproduce

No response

Screenshot and/or share link

use opus 4.6 with Github Copilot subscription in a powershell terminal, and have opus making toolcalls

Operating System

No response

Terminal

No response

Activity

  1. added
    perfIndicates a performance issue or need for optimization
    on Feb 8, 2026
  2. github-actions commented on Feb 8, 2026

    @github-actions
    Contributor

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

    The root cause appears to be long-running git add operations that fail/timeout without cleanup of tmp_pack files in the snapshot directory. #10034 provides a detailed analysis with code-level evidence and recommended fixes.

    Feel free to ignore if your specific case differs from these.

  3. IM-001 commented on Feb 9, 2026

    @IM-001
    Author

    very interesting, it might be just a temporary luck, but updating my models cache seemed to fix my problem for now!

    opencode models --refresh

  4. github-actions commented on Apr 10, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingperfIndicates a performance issue or need for optimizationwindows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions