Skip to content

[BUG] With the last changes - now claude is consuming too much memory in same repository with all most same amount of code #9690

Closed as duplicate

Description

@daddzluvbabz-cell

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

I am concerned with data privacy and data rights over the code as I believe Claude is taking all the code created to remote as Memory footprint has gone up significantly in same directory with same code . I also notice screen flickering which makes me think it is doing screen scraping

What Should Happen?

Claude should only load directory context when required and what is required

Error Messages/Logs

Steps to Reproduce

simple start claude code in any of the directory and watch the memory grow

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

No response

Claude Code Version

2.0.20 (Claude Code)

Platform

Anthropic API

Operating System

Ubuntu/Debian Linux

Terminal/Shell

Terminal.app (macOS)

Additional Information

No response

Activity

  1. github-actions commented on Oct 16, 2025

    @github-actions

    Found 3 possible duplicate issues:

    1. [BUG] exceptional memory usage since v2.0.8 #8968
    2. [Bug] Multiple Claude Code instances spawning, causing terminal flicker and CPU exhaustion since v2.0.14 #9658
    3. Claude Code Memory Leak - Process Grows to 120+ GB RAM and Gets OOM Killed #4953

    This issue will be automatically closed as a duplicate in 3 days.

    • If your issue is a duplicate, please close it and 👍 the existing issue instead
    • To prevent auto-closure, add a comment or 👎 this comment

    🤖 Generated with Claude Code

  2. added
    duplicateThis issue or pull request already exists
    and removed
    bugSomething isn't working
    platform:linuxIssue specifically occurs on Linux
    on Oct 20, 2025
  3. github-actions commented on Oct 20, 2025

    @github-actions

    This issue has been automatically closed as a duplicate of #8968.

    If this is incorrect, please re-open this issue or create a new one.

    🤖 Generated with Claude Code

  4. github-actions commented on Oct 27, 2025

    @github-actions

    This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.

  5. locked as resolved and limited conversation to collaborators on Oct 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions