Extreme lag on IDE

Hey! I am a paying customer and have been so for a while. Hover in the past month or so I have noticed some very strong lag that happens somewhat randomly. Here is what I have been able to identify:

  • Generally restarting the IDE fixes it (this happens on my turbo repo codebase which is about 40k LOC)
  • When writing nix code specifically restarting the IDE doesn’t work now. I have been forced to move back to vscodium for when working with nix repos
  • it lags on startup a little bit but that normally goes away in a few seconds

I’m sorry I can’t be of more help, it just seems to happen at random. If there is something I can do next time it happens to get logs/other info and post it here I’m happy to do it

In case it is relevant I’m on a nixos lenovo thinkpad p14s amd gen 2 (12 cores, no GPU)

Hey, can you check Cursor’s activity in your Task Manager? I think it’s due to excessive memory consumption, most likely related to an extension.

This is my htop if it helps:

Unfortunately, I can’t see anything from your screenshot. Try booting in safe mode using this command in the terminal: ⁠cursor --disable-extensions, and check if this fixes the problem.

I think you are right. I have found an extension that if I remove the lag seems to go away. VsCode Neovim… But I can’t work without it :sob:

And it does seem to work without issues on vscode/vscodium. Maybe some hotkey is clashing?

I’m not sure. Let me test this, and I’ll get back to you with an answer.

1 Like

Actually, give me a bit more time. It might be something else. Let me test thoroughly and get back to you. I just got a bit of lag again after disabling it. Sorry for jumping the gun too soon

1 Like

I haven’t said anything because I am having trouble replicating it. I turned off a bunch of extensions, now it seems to work correctly. But I have tried turning on extensions a few at the time and it doesn’t lag then it starts again and I turn off more extensions. I guess I am saying that I am still trying to figure out who the culprit is but its not easy

2 Likes