Cursor version 2.5.22 is unusable

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Cursor version 2.5.22 is unusable: endless waits for AI responses, the editor often crashes and automatically restarts Windows (I haven’t seen anything like this in 20 years). What’s going on? Why are you releasing versions with all these problems? Don’t tell me to go back to previous versions, that’s absurd because the previous versions are full of problems too!

Steps to Reproduce

Chat with AI

Expected Behavior

That the AI responds in a reasonable amount of time and that the IDE does not crash.

Operating System

Windows 10/11

Version Information

Version: 2.5.22 (user setup)
VSCode Version: 1.105.1
Commit: 0eda506a36f70f8dc866c1ea642fcaf620090080
Date: 2026-02-23T00:15:21.265Z
Build Type: Stable
Release Track: Early Access
Electron: 39.4.0
Chromium: 142.0.7444.265
Node.js: 22.22.0
V8: 14.2.231.22-electron.0
OS: Windows_NT x64 10.0.26200

For AI issues: which model did you use?

Sonnet 4.6, GPT 5.3 Codex

For AI issues: add Request ID with privacy disabled

Request ID: f357df45-128a-4c58-a656-3266d8df4d38

Does this stop you from using Cursor

Yes - Cursor is unusable

If you have a VPN, disable it.

That might help with the Agent taking a long time to answer.

Thanks for the tip, but I’m not using a VPN.

1 Like

Hey, we need to check a few things since you actually have two different issues happening at the same time.

Windows restart crashes are very unusual. We need to understand what exactly is happening:

  • Does Cursor crash and restart by itself, or does Windows reboot?
  • Are you running long chat sessions before the crash? If yes, this could be a known Windows renderer out-of-memory issue. The process can hit the ~4 GB memory limit and crash. You can monitor this via Ctrl+Shift+P > Developer: Open Process Explorer.

If the editor specifically freezes right when the agent asks for confirmation, try this:

  1. In Cursor: Settings > General > Notifications, turn off System Notifications
  2. In Windows: Settings > Notifications, find Cursor and turn it off

More context here: Cursor Freeze Solution

Slow AI replies: please run the network diagnostics: Cursor Settings > Network > Run Diagnostics and paste the results here. Also try this: Settings Ctrl + , > search for “HTTP/2” > enable “Disable HTTP/2”. This helps on some networks.

Can you share the crash logs too? Check %APPDATA%\Cursor\logs for any recent crash files.

Hi Dean,

I will answer your questions:

I think it is indeed an “out-of-memory issue.” I waited a long time for the AI to respond (between 5 and 10 minutes, I don’t remember exactly), after which I asked the AI if it had frozen. When it didn’t respond, I clicked on Stop (the button to stop the AI process). At that moment, Cursor froze, Windows gave me a message that it needed to restart and restarted automatically. I couldn’t do anything.
After restarting Windows, I reopened Cursor and the AI continued to respond very slowly. I closed Cursor and reopened it after about an hour, tried to work with it, and some AIs responded within normal times (Opus 4.6), and I was able to finish a task that I hadn’t finished before. I am attaching the logs, but the crash happened hours ago, and I don’t know if the logs are the right ones.
———————–
Cursor Network Diagnostic Results

DNS: Success
Logs:
[2026-02-23T18:27:45.219Z] Host: api2.cursor.sh
[2026-02-23T18:27:45.219Z] Servers: 192.168.1.1,fe80::321f:48ff:fe11:5bac
[2026-02-23T18:27:45.219Z] Resolved to 44.216.223.4 in 26ms
[2026-02-23T18:27:45.251Z] Resolved to 44.216.223.4 in 5ms
[2026-02-23T18:27:45.253Z] Resolved to 44.216.223.4 in 1ms
[2026-02-23T18:27:45.345Z] Resolved to 44.216.223.4 in 17ms
[2026-02-23T18:27:45.357Z] Host: api2.cursor.sh
[2026-02-23T18:27:45.357Z] Servers: system
[2026-02-23T18:27:45.357Z] Resolved to 44.195.108.117, 54.227.121.228, 23.20.44.121, 54.166.225.188, 100.52.59.113, 3.89.51.114, 18.208.84.238, 44.216.223.4 in 5ms
[2026-02-23T18:27:45.358Z] Resolved to 44.195.108.117, 54.227.121.228, 23.20.44.121, 54.166.225.188, 100.52.59.113, 3.89.51.114, 18.208.84.238, 44.216.223.4 in 0ms
[2026-02-23T18:27:45.359Z] Resolved to 44.195.108.117, 54.227.121.228, 23.20.44.121, 54.166.225.188, 100.52.59.113, 3.89.51.114, 18.208.84.238, 44.216.223.4 in 0ms
[2026-02-23T18:27:45.360Z] Resolved to 44.195.108.117, 54.227.121.228, 23.20.44.121, 54.166.225.188, 100.52.59.113, 3.89.51.114, 18.208.84.238, 44.216.223.4 in 1ms
[2026-02-23T18:27:45.360Z] Result: true

HTTP/2: Success
Logs:
[2026-02-23T18:27:45.175Z] Start
[2026-02-23T18:27:45.463Z] Host: api2.cursor.sh
[2026-02-23T18:27:45.463Z] Protocol: h2
[2026-02-23T18:27:45.463Z] Result: true in 288ms

SSL: Success
Logs:
[2026-02-23T18:27:45.175Z] Start
[2026-02-23T18:27:45.580Z] URL: https://api2.cursor.sh/
[2026-02-23T18:27:45.580Z] Status: 200
[2026-02-23T18:27:45.580Z] IP: 44.216.223.4
[2026-02-23T18:27:45.580Z] Issuer: C=US; O=Amazon; CN=Amazon RSA 2048 M01
[2026-02-23T18:27:45.580Z] Name: api2.cursor.sh
[2026-02-23T18:27:45.580Z] AltName: DNS:api2.cursor.sh, DNS:prod.authentication.cursor.sh, DNS:*.api2.cursor.sh
[2026-02-23T18:27:45.580Z] DNS Time: 16ms
[2026-02-23T18:27:45.580Z] Connect Time: 147ms
[2026-02-23T18:27:45.580Z] TLS Time: 119ms
[2026-02-23T18:27:45.580Z] Result: true in 405ms

API: Success
Logs:
[2026-02-23T18:27:45.178Z] Start
[2026-02-23T18:27:45.679Z] Result: true

Ping: Success
Logs:
[2026-02-23T18:27:45.179Z] Sending ping 1
[2026-02-23T18:27:45.697Z] Response: ‘ping’ in 518ms
[2026-02-23T18:27:45.697Z] Sending ping 2
[2026-02-23T18:27:45.823Z] Response: ‘ping’ in 126ms
[2026-02-23T18:27:45.823Z] Sending ping 3
[2026-02-23T18:27:45.941Z] Response: ‘ping’ in 118ms
[2026-02-23T18:27:45.941Z] Sending ping 4
[2026-02-23T18:27:46.066Z] Response: ‘ping’ in 125ms
[2026-02-23T18:27:46.066Z] Sending ping 5
[2026-02-23T18:27:46.613Z] Response: ‘ping’ in 547ms
[2026-02-23T18:27:46.613Z] Result: true

Chat: Success
Logs:
[2026-02-23T18:27:45.180Z] Starting stream
[2026-02-23T18:27:45.697Z] Response: ‘foo’ in 514ms
[2026-02-23T18:27:46.795Z] Response: ‘foo’ in 1098ms
[2026-02-23T18:27:47.791Z] Response: ‘foo’ in 996ms
[2026-02-23T18:27:48.791Z] Response: ‘foo’ in 1000ms
[2026-02-23T18:27:49.789Z] Response: ‘foo’ in 998ms
[2026-02-23T18:27:50.789Z] Result: true

Agent: Success
Logs:
[2026-02-23T18:27:45.182Z] Starting stream
[2026-02-23T18:27:45.183Z] Pushing first message
[2026-02-23T18:27:46.612Z] Response: ‘foo’ in 1429ms
[2026-02-23T18:27:47.122Z] Pushing next message
[2026-02-23T18:27:47.241Z] Response: ‘foo’ in 629ms
[2026-02-23T18:27:47.751Z] Pushing next message
[2026-02-23T18:27:47.928Z] Response: ‘foo’ in 687ms
[2026-02-23T18:27:48.440Z] Pushing next message
[2026-02-23T18:27:48.557Z] Response: ‘foo’ in 629ms
[2026-02-23T18:27:49.102Z] Pushing next message
[2026-02-23T18:27:49.458Z] Response: ‘foo’ in 901ms
[2026-02-23T18:27:49.458Z] Result: true

Marketplace: Success
Logs:
[2026-02-23T18:27:45.155Z] Host: marketplace.cursorapi.com
[2026-02-23T18:27:45.386Z] Response in 231ms
[2026-02-23T18:27:45.386Z] Response: 200
[2026-02-23T18:27:45.386Z] Response Type: cors
[2026-02-23T18:27:45.386Z] Server: null
[2026-02-23T18:27:45.386Z] Result: OK in 231ms

Authentication: Success
Logs:
[2026-02-23T18:27:45.156Z] Host: prod.authentication.cursor.sh
[2026-02-23T18:27:45.530Z] Response: 200 in 374ms

Authentication UI: Success
Logs:
[2026-02-23T18:27:45.176Z] DNS lookup: authenticator.cursor.sh
[2026-02-23T18:27:45.251Z] Resolved authenticator.cursor.sh to 104.18.35.233 in 34ms

Cursor Tab: Success
Logs:
[2026-02-23T18:27:45.176Z] DNS lookup: api3.cursor.sh
[2026-02-23T18:27:45.219Z] Resolved api3.cursor.sh to 104.18.19.125 in 14ms

Agent Endpoint: Success
Logs:
[2026-02-23T18:27:45.176Z] DNS lookup: agent.api5.cursor.sh
[2026-02-23T18:27:45.248Z] Resolved agent.api5.cursor.sh to 100.30.166.181 in 28ms

Codebase Indexing: Success
Logs:
[2026-02-23T18:27:45.176Z] DNS lookup: repo42.cursor.sh
[2026-02-23T18:27:45.249Z] Resolved repo42.cursor.sh to 52.204.241.114 in 28ms

Downloads: Success
Logs:
[2026-02-23T18:27:45.174Z] Host: downloads.cursor.com
[2026-02-23T18:27:45.675Z] Response: 403 in 501ms

CDN: Success
Logs:
[2026-02-23T18:27:45.175Z] Host: cursor-cdn.com
[2026-02-23T18:27:45.550Z] Response: 404 in 375ms

20260223T152009.zip (66.1 KB)

1 Like

Thanks for the logs, they’re really informative. They show two clear issues:

  1. SQLite concurrency bug: Your logs are flooded with AgentAnalyticsOperationsMainService: SQLITE_ERROR: cannot start a transaction within a transaction, hundreds of times between 16:12 and 16:18. This is a known issue where the analytics service gets stuck in a loop of failed DB writes, which eats CPU and memory.

  2. Bloated local database: The logs show DB size: 5860462592b, that’s about 5,8 GB for a local storage file that should be small. One key alone, aiCodeTrackingLines, is 3,1 MB. This causes about a 7 second delay just to close the DB, and it almost certainly contributes to freezes and rising memory use.

Here’s what I’d suggest:

  1. Fully close Cursor
  2. Go to %APPDATA%\Cursor\User\globalStorage
  3. Find the folder that contains state.vscdb and check its size. If it’s a few GB, delete state.vscdb and also any state.vscdb.backup or state.vscdb.corrupted.* files
  4. Restart Cursor (you’ll lose some local state, but this should fix the bloat)

For the future:

  • Fully restart Cursor (quit and relaunch) every 1 to 2 hours during long sessions
  • Start new chats instead of endlessly continuing very long ones

The team is aware of the SQLite transaction issue. Your logs are very helpful as extra evidence. Let me know how it goes after clearing the database.

1 Like

Thanks Dean, your advice was helpful: now the response is immediate.

1 Like

Still slow for me after deleting it.

also having cursor crash issues since updating to 2.5.25
am on a mac book pro M4+pro
seems to happen when agent running, in my case two chats at the same time, never seen the crashes before.

where are the globalstorage’s on Mac OS ?