Taking longer than expected on Cursor version 3.0.13

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

The AI responds extremely slowly: I have to wait a long time for a response (the message “Taking longer than expected…” always appears), and when the response finally comes, only part of it arrives, followed by another long wait for the rest. Sometimes I have to ask, “Are you stuck?”, and it starts responding again, but always very slowly. Is there any way to speed this up?
I’ve tried using the HTTP/1.1 protocol, reindexing the codebase, and restarting Cursor, but nothing has changed. The file AppData\Roaming\Cursor\User\globalStorage\state.vscdb is 1.8 GB—maybe that’s the issue? But if I delete it, I’ll have to reset a lot of settings, and I’d like to avoid that. Sonnet 4.6 is extremely slow, and it runs a little better with Composer 2, but that’s still slow too.

Steps to Reproduce

Ask a question in chat

Expected Behavior

Respond immediately without delay

Screenshots / Screen Recordings

Operating System

Windows 10/11

Version Information

Version: 3.0.13 (user setup)
VSCode Version: 1.105.1
Commit: 48a15759f53cd5fc9b5c20936ad7d79847d914b0
Date: 2026-04-07T03:05:17.114Z
Layout: editor
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
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, Composer 2

For AI issues: add Request ID with privacy disabled

f5f02e38-94bc-4d7e-ba63-10921be319f8

Does this stop you from using Cursor

Yes - Cursor is unusable

1 Like

Hey, I see the screenshot. Your request finished successfully on the backend, but it took about 19 minutes. That’s way too long, and it’s most likely due to two things.

  1. The state.vscdb file is 1.8 GB. That’s the main suspect. This file stores chat and agent session data without limits, and it grows over time. On Windows, it can slow down the whole client.

Workaround: clean it up with SQL. Fully close Cursor first, then in PowerShell.

First, make a backup:

Copy-Item "$env:APPDATA\Cursor\User\globalStorage\state.vscdb" "$env:APPDATA\Cursor\User\globalStorage\state.vscdb.manual-backup"

Then clean it up. You’ll need sqlite3, you can install it with winget install SQLite.SQLite:

sqlite3 "%APPDATA%\Cursor\User\globalStorage\state.vscdb" "PRAGMA journal_mode=DELETE; BEGIN IMMEDIATE; DELETE FROM cursorDiskKV WHERE key LIKE 'agentKv:%'; DELETE FROM cursorDiskKV WHERE key LIKE 'bubbleId:%'; DELETE FROM cursorDiskKV WHERE key LIKE 'checkpointId:%'; COMMIT; VACUUM;"

This can shrink the file from 1.8 GB down to a few dozen MB. Downside: your chat history in the UI will disappear. Agent transcripts will still be in ~/.cursor/projects/.

  1. Long chats. In the request logs there are two warnings that say “Large conversation state”. The longer the chat, the slower each next reply gets. Try starting a new chat once the current one gets big.

The team knows about the state.vscdb growth issue. There’s no automatic cleanup yet.

Try the cleanup and let me know if it feels faster.

Hi Dean,

I followed your advice and reduced the size of the state.vscdb file to 300MB. First of all, I noticed that the PowerShell command is slightly different from the one you gave me (I’ll write it down here in case others reading this post need it):

sqlite3 “$env:APPDATA\Cursor\User\globalStorage\state.vscdb” “PRAGMA journal_mode=DELETE; BEGIN IMMEDIATE; DELETE FROM cursorDiskKV WHERE key LIKE ‘agentKv:%’; DELETE FROM cursorDiskKV WHERE key LIKE ‘bubbleId:%’; DELETE FROM cursorDiskKV WHERE key LIKE ‘checkpointId:%’; COMMIT; VACUUM;”

Once Cursor was restarted and Sonnet 4.6 was used, the “Taking longer than expected…” warning no longer appeared, and the AI began responding immediately; however, unfortunately, it took several minutes—far too many—to get the final output for my request: it is impossible to work with such long wait times.

The Request ID of the request after working on the state.vscdb file is: c3f6dcb1-4f49-423c-a81b-6d08d1db7e26

Glad the warning is gone, that’s progress. And thanks for the PowerShell command fix, it’ll help other users too.

About the remaining slowness, a couple questions so we can narrow it down:

  1. Was the request with the new Request ID in a fresh chat, or a continuation of the old one? In the previous request there were warnings about a large conversation state, which can slow down every next response a lot.

  2. Try starting a new chat and ask something simple, like “explain this function”, on a small file. If the reply is fast, then the issue is the context size, and the fix is to start new chats more often.

  3. Roughly how big is the project, number of files or lines? Big projects with indexing enabled can add delay.

I’ll pass the new Request ID to the team so they can check the backend. Let me know how it goes with a clean chat.

Here are my answers to your questions:

1. I submitted the request ID in a new chat. I had started a new project by creating a new folder in Cursor, and there were only 3 previous requests in the chat. In the previous project—which isn’t related to the current delay—there were actually a lot of requests, but even in that project I often open new chats and archive the old ones (though I don’t delete them; maybe archiving and deleting have different effects on performance?).

2. I tried asking a very simple question and noticed that with the HTTP/2 protocol it’s still very slow; I switched to HTTP/1.1 and it sped up significantly (Sonnet 4.6 in both cases).

3. The project is new; there are only 3 files, each about 300 lines long.

Request ID for the query with a very slow response: bb41a1d6-b596-4de7-a600-6aeba7510a25

Request ID for the query with a fairly fast response: 6901e30d-209c-46d7-b474-5cd2d9171a59

3 Likes

+1 - Having same issue - none of the steps helped. App is 100% unusable. (20 minutes to respond to “hello” fresh install also did not work.

3 Likes

Having the same exact issue since updating to 3.0.16 a few hours ago and I regret making that update. A few hours away from a deadline and now this. :weary_face:

I am stuck in a basic prompt that’s “taking longer than expected” and it’s been hours.

This is on a brand new fresh install. all .cursor files were deleted and system restarted prior to reinstall.

1 Like

I should note that my issue is also related to 3.0.16 given the tile :stuck_out_tongue: prompt eventually replies, with “thought briefly” - very incorrect. but this was on a simple “hello” using it with my actual code base is impossible. it proceeds after the long initial first time to token to handle thing at a decent pace - but this is also on a fresh install. Was unable to do anything at all with my prior install, with my configs (RIP my configs) Request ID: 0bf0eb84-af39-43ed-a342-ca8d8c257c07

Update: For unknown reasons, it has started to stabilize and work, opened a new window and it started to respond immediatley. @PascalX Have you noticed this too? or could this be related to fresh install?

–Update x2: spoke too soon, issue came back after a few prompts and is unusable again. Basic asks (verifying my docker syntax) is now taking longer than expected.

Reverting the version to pre 3.0.x version seemed to fix it. Bug persisted in tested newly installed versions 3.0.16, .13, and .04. Reverting to Update below did not fix the issue. check replies for additional info.

2.6.22 fixed the issue (although got rid of the main updates in the new agent window :stuck_out_tongue: ) ill stick here until stability is determined in 3.0.16+
Revert to 2.6.22 Install (x64 User): https://downloads.cursor.com/production/c6285feaba0ad62603f7c22e72f0a170dc8415a5/win32/x64/user-setup/CursorUserSetup-x64-2.6.22.exe

Looking for a download link to older version (macOS) as we speak. I just don’t remember which version I had before (I am certain it was a 3.0 version of some kind. Def not 3.0.16). Saw the link below.

Might’ve been going on longer than 2.6.22: [Cursor 2.5/2.6] Taking longer than expected - #4 by Andrew_Leonidov based on this article. Im going to try a 2.3 revision.
Ran into the same thinking issue on basic prompts on 2.6 as well afte rplaying for a bit.

Im almost wondering if its a problem with the service, as the version i was running before was 2.6.20 right around composer time.

not sure if somethings happening external to the downloads, but ill keep chasing versions and ghosts until i can maybe find stability :stuck_out_tongue: otherwise, guess its the world telling me that proxmox doesnt need fixed today.

Yes but my issue started with recent update to 3.0.16. I had updated to 3.0 when it came out and had no issues until this 3.0.16 update.

Update #1: I just tried 3.0.12 > no luck. same issue.

Update #2: Reverted back to 3.0.16 … I am not willing to go version hunting. Also just realized even my cloud agents run through the Cursor app are facing the same exact problem.

Update #3: Resolved by manually selecting models other than Composer. Taking longer than expected on Cursor version 3.0.13 - #22 by Garrett_Giles

Constantly stuck in "Planning Next Moves" or "Generating..." - #26 by Yakov_Tchenak going to give this persons suggestion a try on the 3.0.13 version

since you mentioned your on a mac: Constantly stuck in "Planning Next Moves" or "Generating..." - #33 by dny_ex

Thanks. Tried what’s described in Constantly stuck in "Planning Next Moves" or "Generating..." - #33 by dny_ex and no luck with that. Also, again, my issue is brand new. I was successfully using Cursor after 3.0.x updates up until 3.0.16 then it fell apart.

I took a step back on the form and started to look around recent tickets. Theres ALOT related to Composer/ Auto mode in related to planning recently regardless of the version. They also mentioned that the latest release resolved some of the “hanging”

For testing im going to head back to 3.0.16 (latest) and try just manually going to Opus 4.6 as agent, and bypassing all auto/composer issues that have appeared as of late.

Update: Initial results feel promising, however, not using auto/composer can rack up cost quick.

1 Like

This right here! Thank you. Manually selecting models other than Composer is unblocking me.

Glad its working :slight_smile: Hopefully they see the chat and get working on the composer/auto issue. They worked great and their efficiency was always pretty good, hate to see em bring down stability like this. Ill keep testing around and report back if i run into the planning issue again. otherwise, hopefully this gets some people an assist :slight_smile: thanks for the debug help as well @PascalX !

Thank YOU! Should have been an obvious starting point.

And yes, rooting for Cursor (regardless of the “wasted” time debugging).

1 Like

Thanks for the thorough debugging here, @Garrett_Giles and @PascalX. You’re right that Composer 2 and Auto mode were experiencing issues, particularly on April 11. Manually selecting a specific model is the correct workaround for now.

The team is tracking this and working on improving Composer 2 and Auto mode reliability. If anyone here is still experiencing hangs after switching to a manually selected model, please share a Request ID, and we can check the backend.