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
Open Cursor
Open javascript file in editor window
Observe CPU process
Expected Behavior
Just opening a javascript file should not be constantly utilizing my entire CPU.
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.
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!
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!
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?
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
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