Cursor crashes after few days

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

After few days of installation, the cursor IDE crashes. The main.js file of its installation gets wiped out and then I have to reinstall cursor again.

Steps to Reproduce

There are no steps, it just get wiped out randomly after few days.

Screenshots / Screen Recordings

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

CursorSetup-x64-2.3.35

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey, thanks for the report. This is a known issue on Windows. Usually Windows Defender or another antivirus quarantines Cursor files, especially when you’re using the user setup version.

Try this:

  • Check Windows Security → Virus & threat protection → Protection history. Cursor might be quarantined there.
  • Add the Cursor folder to your antivirus exclusions, usually C:\Users\[username]\AppData\Local\Programs\cursor.
  • Reinstall using the system installer from Download · Cursor. It installs into Program Files instead of AppData, which reduces the chance of antivirus false positives.

Also check if any disk cleanup tools are running. Some aggressive cleaners can remove apps from your user profile.

The system installer usually fixes this completely because it installs with system permissions.

Similar cases:

This happens with System Installer as well.

Seeing this continuously on Ubuntu as well. If I have multiple cursor windows open, it starts to lag too much and then crashes. There is increase in memory usage as well.
VSCode shipped 1.108 which had a lot of these mem leak fixes.
Even though it says that cursor is on 1.105 but this is only for the extensions api. Everything else is still zombie since 1.95 or something.
Except tab complete, open code/ claude code with VSCode seems a better option.