Skip to content

High memory consumption in a large pnpm monorepo #2780

@shinichy

Description

@shinichy

Extension Version

0.20260212.1

VS Code Version

1.108.1

Operating system Version

MacOS 15.7.3

Steps to reproduce

  1. Open a TypeScript file within a large pnpm monorepo (observed baseline memory: ~700MB).
  2. Perform a minor edit (e.g., adding a character).
  3. Observe memory usage skyrocketing to ~35GB, leading to system instability or OOM.

Issue

After bisecting, I've identified that this memory regression was introduced by PR #2502.

99701-cpuprofile.pb.gz
99701-memprofile.pb.gz

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions