Lukas Labs
VeilPress RowSlate ThreadAttic Sitefence Tools Guides Pricing
Open VeilPress →

How to view Cursor & VS Code state.vscdb SQLite files (>200 MB) without crashing

Written by Lukas Labs, maker of RowSlate. Free unlimited file-size SQLite inspection with zero network calls.

Cursor and VS Code store chat history, composer sessions, and extension state inside SQLite databases named state.vscdb (inside globalStorage/ and workspaceStorage/). After a few weeks of heavy AI coding, state.vscdb routinely grows past 250 MB–1 GB.

Why opening state.vscdb crashes standard extensions

Two common failure modes hit developers inspecting state.vscdb:

  1. Unrecognized extension: many SQLite viewers only register .sqlite and .db, ignoring .vscdb files.
  2. 200 MB memory crash / paywall: webview-based WASM viewers read the entire state.vscdb file into RAM as one buffer, blowing past memory limits or triggering a paid size cap.

How to inspect state.vscdb safely in 1 second

RowSlate registers *.vscdb alongside *.sqlite and *.db natively and reads SQLite pages on demand via a 4 KB paged disk VFS:

  • Opens >250 MB databases in ~1 s: tested on a 254.5 MB SQLite file (+30.7 MB RSS, never loads the full file into memory).
  • Read-only by default: inspecting ItemTable or cursorDiskKV will not corrupt an active workspace database; if you ever enable inline editing in RowSlate Pro, edits are staged and RowSlate writes an automatic .bak backup before committing.
  • SQL console & JSON inspection: run SELECT key, length(value) FROM ItemTable ORDER BY length(value) DESC LIMIT 50 to spot which extension or chat history is bloating your disk.

Install in Cursor / Windsurf (Open VSX) Install in VS Code Marketplace

© 2026 Lukas Labs · All Guides · RowSlate · Large SQLite Guide · Privacy