aws / aws/aws-toolkit-vscode

oom when using Q with vs code on large project

Open
#7,358 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
2k
Forks
807
Avg merge
10h 12m
Merged PRs (30d)
7

Description

## Problem

The VS Code Amazon Q plugin seems having a memory leaking problem, when handling a large project, it easily oom and gets killed.

## Steps to reproduce the issue
Just try on a large project and do some rounds of complex question answering.

when
## Expected behavior

## System details (run `AWS: About` and/or `Amazon Q: About`)

- OS and VS Code:
Version: 1.99.2 (Universal)
Commit: 4949701c880d4bdb949e3c0e6b400288da7f474b
Date: 2025-04-10T01:21:25.295Z (1 mo ago)
Electron: 34.3.2
ElectronBuildId: 11161073
Chromium: 132.0.6834.210
Node.js: 20.18.3
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.4.0

- AWS Toolkit version: aws-cli/2.15.8 Python/3.11.6
- Amazon Q version: 1.68.0 2025-05-15

Contributor guide

Open the contributing guide

Research direction

No source file, test, or entry point is named. Start by reproducing the issue in a large project with several rounds of complex Amazon Q questions, then inspect memory growth and the extension process behavior; done means the extension no longer reaches out-of-memory termination during that scenario.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, typescript, vscode
Domain
devtools, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.