Powershell CPU utilization leak

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Cursor seems to be spawning a telemetry process whenever the IDE is opened. If I just open any Javascript file this process will start spawning/killing powershell processes indefinitely which is eating all my CPU.

Steps to Reproduce

  1. Open Cursor
  2. Open javascript file in editor window
  3. Observe CPU process

Expected Behavior

Just opening a javascript file should not be constantly utilizing my entire CPU.

Screenshots / Screen Recordings

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.5.9 (user setup)
VSCode Version: 1.99.3
Commit: de327274300c6f38ec9f4240d11e82c3b0660b20
Date: 2025-08-30T21:02:27.236Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.26100

Additional Information

Here is the process Cursor is spawning:

C:\Users\mbritton\AppData\Local\Programs\cursor\Cursor.exe --max-old-space-size=3072 -e “process.title = process.env[“VSCODE_PROCESS_TITLE”]; require(process.argv[1])” c:\Users\mbritton\AppData\Local\Programs\cursor\resources\app\extensions\node_modules\typescript\lib\tsserver.js --useInferredProjectPerProjectRoot --enableTelemetry --cancellationPipeName C:\Users\mbritton\AppData\Local\Temp\vscode-typescript\0b3313db165f5313352b\tscancellation-9ce8935d74dde758829a.tmp* --locale en --noGetErrOnBackgroundUpdate --canUseWatchEvents --validateDefaultNpmLocation --useNodeIpc

Does this stop you from using Cursor

Yes - Cursor is unusable

3 Likes

hi @Mlbritton and thank you for the detailed bug report. I forwarded it to our team.

I’ve had this same issue for a while but haven’t had a chance to investigate. It is really grinding even my fast machine down to a halt. What the heck is Cursor doing opening powershell constantly? We need a fix or I might have to look for other solutions.
Some quick research indicates that:

This PowerShell command is querying system information about two specific Windows processes and displaying their details in a formatted table.

Here’s what each part does:

powershell.exe -c - Launches PowerShell and executes the following command

gwmi win32_process - Uses Get-WmiObject (gwmi is the alias) to query the Win32_Process WMI class, which contains information about all running processes

-Filter 'ProcessId=17380 or ProcessId=14236' - Filters the results to only show processes with IDs 17380 or 14236

| select CreationDate,KernelModeTime,ParentProcessId,ProcessId,UserModeTime,WorkingSetSize - Selects only specific properties from the process objects:

  • CreationDate: When the process started

  • KernelModeTime: Time spent executing in kernel mode

  • ParentProcessId: ID of the parent process that spawned this one

  • ProcessId: The process ID

  • UserModeTime: Time spent executing in user mode

  • WorkingSetSize: Amount of physical memory currently used by the process

| format-table - Formats the output as a readable table

This type of command is commonly used for process monitoring, troubleshooting, or forensic analysis to understand the behavior and resource usage of specific processes running on a Windows system.

Version: 1.5.11 (user setup)
VSCode Version: 1.99.3
Commit: 2f2737de9aa376933d975ae30290447c910fdf40
Date: 2025-09-05T03:48:32.332Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.19045

P.S. - I tried the disabling extensions. It’s not an extension. It’s cursor itself.

2 Likes

Doing further research and noticing the PID inside of Cursor’s Process Explorer.
It’s for:
electron-nodejs (tsserver.js)

Sorry for the continued replies, but I did a little debugging of my own and figured out something crazy:
After Cursor was fully loaded with my project (next.JS, btw)
I hit ctrl-shift-p and selected- TypeScript: Restart TS Server
I’ve done this twice now and no Powershell instances!!
Now Cursor seems to still take a little CPU here and there but WAY better than it was!

More research, after project is loaded I can select control-shift-p, Typescript: Restart TS Server
and voila! Powershell instances gone!

1 Like

@Alien_Gate Thanks for the info! Restarting the TS Server after Cursor loads seems to be working for me also.

I’ve continued to debug this a bit and did some additional research. If I disable the built-in Typescript extension, then the issue goes away. I’m not sure if this is an issue in vanilla VS-Code. Nevertheless, it seems that either VS-Code or Cursor does something that is causing the Typescript extension to get in a loop on initialization. Resetting the Typescript server causes the initialization to reset again and get unstuck. I did try older versions of Typescript, but that didn’t seem to have any effect as the issue is in the extension itself. The fix is probably that someone will have to debug the Typescript extension itself which is likely buried in the VS-Code code. I doubt I’ll have time to go that deep, but hoping someone at Cursor can! Please!

1 Like

Version: 1.6.27 (user setup)
VSCode Version: 1.99.3
Commit: d750e54bba5cffada6d7b3d18e5688ba5e944ad0
Date: 2025-09-17T20:21:17.042Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.26100

The same thing. After start I can see powershell constanly appears in the task manager with 9-10% CPU usage. Overall usage is 30-40% and it’s quite a lot. After restarting TS server it’s 5-10%.

It’s annoying and my laptop runs very hot and loud like it’s some mining farm. What’s going on with that? How can we fix that without workarounds?

Either no one cares or no one is seeing this :frowning:
Maybe I need to cancel my Ultra subscription and move on…

same problem with me, stupid cursor hidden my post

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

When open Cursor window, then open any js/ts file powershell process keep showing up and consuming CPU usage (although it will disappear immediately after but it then show up again like a infinite loop).
Open 2 Cursor windows → 2 powershell processes with double usage.

Steps to Reproduce

Just open Cursor, then open any js/ts file and do anything or do nothing

Screenshots / Screen Recordings

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.7.33 (user setup)
VSCode Version: 1.99.3
Commit: a84f941711ad680a635c8a3456002833186c4840
Date: 2025-10-03T03:28:06.574Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.26100

Does this stop you from using Cursor

No - Cursor works, but with this issue

I see edge with tons of multiple tabs open hence why thats using a ton of cpu and powershell, thats not really doing much of anything.

It’s really serious, I also encountered this problem

edge has nothing to do with this. when i open cursor but dont open js/ts file, nothing like above happens. powershell processes consume ~ 30% CPU usage for nothing is unbelievable. I can hear my laptop fan going crazy

I think they should start taking this issue seriously

agreed!

I tested all other AI IDEs and Cursor was the only one that had this problem. It got hot in less than half an hour.

Me and my colleague had it too. I don’t know if it is related, but after putting

 "terminal.integrated.persistentSessionReviveProcess": "never",

it stopped the looping on powershell with wmi for the 2 pid.