Skip to content

Nx MCP server in OpenAI Codex cause RAM usage spike #3070

@anthony-b-dev

Description

@anthony-b-dev

Current Behavior

I have the Nx MCP configured to work with Codex in VS Code on Windows 11. Whenever I open the Codex extension, a Node Javascript runtime gets spun up and instantly starts consuming 16-20 GB of RAM and close to like 90% CPU usage. Unknown why, but sometimes the memory usage just keeps climbing as well. My computer locks up and I have to do a hard reset more often than not.

Expected Behavior

Using the Nx MCP server in VS Code does not cause a huge memory drain and Agentic coding works normally.

GitHub Repo

N/A

Steps to Reproduce

  1. Open VS Code
  2. Install the Codex Extension
  3. run pnpm nx configure-ai-agents and select Codex
  4. Open Codex in VS Code
  5. See issues in Task Manager

Nx Report

Node           : 22.13.1
OS             : win32-x64
Native Target  : x86_64-windows
pnpm           : 10.28.1

nx (global)        : 22.1.3
nx                 : 22.3.3
@nx/js             : 22.3.3
@nx/eslint         : 22.3.3
@nx/workspace      : 22.3.3
@nx/angular        : 22.3.3
@nx/jest           : 22.3.3
@nx/cypress        : 22.3.3
@nx/devkit         : 22.3.3
@nx/esbuild        : 22.3.3
@nx/eslint-plugin  : 22.3.3
@nx/express        : 22.3.3
@nx/nest           : 22.3.3
@nx/vite           : 22.3.3
@nx/vitest         : 22.3.3
@nx/web            : 22.3.3
@nx/webpack        : 22.3.3
typescript         : 5.9.3
---------------------------------------
Registered Plugins:
@nx/angular/plugin
---------------------------------------
Community plugins:
@ngrx/eslint-plugin : 21.0.1
@ngrx/operators     : 21.0.1
@ngrx/schematics    : 21.0.1
@ngrx/signals       : 21.0.1
angular-eslint      : 21.1.0
---------------------------------------
Cache Usage: 1.48 KB / 93.45 GB

Failure Logs

Package Manager Version

No response

Operating System

  • macOS
  • Linux
  • Windows
  • Other (Please specify)

Additional Information

No response

Metadata

Metadata

Assignees

Labels

type: bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions