Skip to content

Kiro IDE Memory Leak — Bug Report #7709

@kla-apisak

Description

@kla-apisak

Before opening, please confirm:

Operating System

macOS 26.4.1 (Build 25E253) - Chip Apple M5 Pro - RAM 48 GB

Kiro Version

0.11.131

Bug Description

After using Kiro IDE for an extended period, it consumes 81.80 GB of RAM on a machine with only 48 GB physical memory. macOS displays "Your system has run out of application memory," pauses all other applications, and the system becomes completely unresponsive until Kiro is force-quit.

Investigation shows the kiro.kiroagent extension accumulated 7.5 GB of data in ~/Library/Application Support/Kiro/User/globalStorage/kiro.kiroagent/, which may be loaded into memory and contribute to the leak.

Environment:

  • macOS 26.4.1 (Build 25E253)
  • Apple M5 Pro, 48 GB RAM
  • Kiro v0.11.131
  • Project: a monorepo (~27K source files, 4.8 GB total)

Steps to Reproduce

  1. Open Kiro IDE on a monorepo project (with apps/, packages/, infra/, ios/ directories, ~27K source files)
  2. Use the IDE normally for an extended period (several hours)
  3. System gradually becomes sluggish
  4. Eventually macOS shows "Your system has run out of application memory" with Kiro using 81.80 GB

Expected Behavior

Kiro IDE should maintain reasonable memory usage (< 4 GB) regardless of session duration. Memory should be released when no longer needed. The kiro.kiroagent globalStorage should not grow unbounded.

Conversation ID

No response

Additional Context

  • Screenshot attached showing Force Quit dialog with Kiro at 81.80 GB (screenshot-memory-leak.png)
  • Kiro storage breakdown on disk before cleanup:
    • kiro.kiroagent globalStorage: 7.5 GB
    • logs: 735 MB
    • Total: 8.3 GB
  • Clearing ~/Library/Application Support/Kiro/User/globalStorage/kiro.kiroagent/ and restarting Kiro works as a temporary workaround
  • This is similar to memory leak issues reported in other Electron-based AI IDEs (Cursor, Windsurf)
Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions