Skip to content

🐛 2.0 beta: Memory bloat from crawling node_modules even when includes has an exclusion for that glob #107

@jpike88

Description

@jpike88

Zed version

0.186.9

Extension version

0.1.5

Biome version

2.0.0-beta.4

Operating system

  • Windows
  • macOS
  • Linux

Description

Biome process seems to ignore files.includes exclusions, when it's activated in Zed via the extension.

Steps to reproduce

Archive.zip

run this command to set it up:

npm ci --legacy-peer-deps

this will install a large node_modules folder about 500MB in size.

Then, open the base folder in Zed, and open the gulpfile.ts file to ensure biome is activated.

Watch the biome process bloat even when it shouldn't have any reason to, only reason should be its crawling node_modules when it shouldn't be. I see it go as high as 1.89GB.

Expected behavior

Keep a reasonable memory level.

Also maybe at some point, better debugging logs .

Does this issue occur when using the CLI directly?

Not sure / Not applicable

Link to a minimal reproduction

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs triageIssue needs to be triaged

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions