Yesterday I updated Cursor the Current version is 2.0.77 (see the screenshot below)
I am experiencing a lot of lagginess when using the IDE. Even opening a simple text file takes around a minute
I have attached the Process Explorer screenshot and the workStorage folder does not have any file above 100 MB.
The spike in memory usage is simply after opening a new file
I have also cleared all of my recent chats.
Can you please tell me how to fix the lagging of the IDE
Steps to Reproduce
Just open Cursor. It takes a lot of time for loading the window and files
Hey, thanks for the report. I can see the issue: your window [1] process (Genai.ConfigUtil.js - genai) is stuck at 100% CPU, which is causing the heavy lag.
It looks like this process is stuck. Let’s try these steps:
First, test without extensions:
cursor --disable-extensions
Does the 100% CPU issue still occur?
Check for console errors:
Help > Toggle Developer Tools
Go to the Console tab
Share any errors you see there (especially when the lag starts)
It would also be helpful to know:
How large is your codebase?
Does this happen immediately on startup or only after certain actions?
Hello!
Thanks for the quick reply.
To answer your questions:
I am using the emulated version. How to execute the cursor –disable-extensions command in this case?
Yes the codebase is very large. It is a mono repo consisting of large files probably 5k+
After starting up the IDE it keeps on showing the loading bar and then the lag is seen for each and every task right from open a file to making changes or asking the agent to do anything.
No I dont have indexing enabled.
Errors:
Timed out getting tasks from typescript
[solomonkinard.git-blame]Cannot read properties of undefined (reading ‘set’)
TypeError: Cannot read properties of undefined (reading ‘set’)
at Timeout._onTimeout
workbench.desktop.main.js:5750 [Background Composer] Error updating branch on git status change: Error: No full commit provider registered
at hHn.getCurrentBranch (workbench.desktop.main.js:589:272176)
at GDt.value (workbench.desktop.main.js:5750:49237)
at _e._deliver (workbench.desktop.main.js:49:2962)
at _e._deliverQueue (workbench.desktop.main.js:49:3053)
at _e.fire (workbench.desktop.main.js:49:3390)
at v$c.$gitStatusWasRun (workbench.desktop.main.js:4979:35609)
at Ywo._doInvokeHandler (workbench.desktop.main.js:492:36007)
at Ywo._invokeHandler (workbench.desktop.main.js:492:35749)
at Ywo._receiveRequest (workbench.desktop.main.js:492:34514)
at Ywo._receiveOneMessage (workbench.desktop.main.js:492:33336)
at GDt.value (workbench.desktop.main.js:492:31429)
at _e._deliver (workbench.desktop.main.js:49:2962)
at _e.fire (workbench.desktop.main.js:49:3283)
at ggt.fire (workbench.desktop.main.js:4974:12156)
at MessagePort. (workbench.desktop.main.js:7498:18439)
Hello!
Thanks for the quick reply.
To answer your questions:
I am using the emulated version. How to execute the cursor –disable-extensions command in this case?
Yes the codebase is very large. It is a mono repo consisting of large files probably 5k+
After starting up the IDE it keeps on showing the loading bar and then the lag is seen for each and every task right from open a file to making changes or asking the agent to do anything.
No I dont have indexing enabled.
Errors:
Timed out getting tasks from typescript
[solomonkinard.git-blame]Cannot read properties of undefined (reading ‘set’)
7. TypeError: Cannot read properties of undefined (reading ‘set’)
at Timeout._onTimeoutworkbench.desktop.main.js:5750 [Background Composer] Error updating branch on git status change: Error: No full commit provider registered
at hHn.getCurrentBranch (workbench.desktop.main.js:589:272176)
at GDt.value (workbench.desktop.main.js:5750:49237)
at _e._deliver (workbench.desktop.main.js:49:2962)
at _e._deliverQueue (workbench.desktop.main.js:49:3053)
at _e.fire (workbench.desktop.main.js:49:3390)
at v$c.$gitStatusWasRun (workbench.desktop.main.js:4979:35609)
at Ywo._doInvokeHandler (workbench.desktop.main.js:492:36007)
at Ywo._invokeHandler (workbench.desktop.main.js:492:35749)
at Ywo._receiveRequest (workbench.desktop.main.js:492:34514)
at Ywo._receiveOneMessage (workbench.desktop.main.js:492:33336)
at GDt.value (workbench.desktop.main.js:492:31429)
at _e._deliver (workbench.desktop.main.js:49:2962)
at _e.fire (workbench.desktop.main.js:49:3283)
at ggt.fire (workbench.desktop.main.js:4974:12156)
at MessagePort. (workbench.desktop.main.js:7498:18439)
• 5. Timed out getting tasks from typescript
Renaming the files and clearing the memory bloat did not solve the issue. The last resort for me was reinstalling cursor which now solved the issue. Thanks for the help though!