# Excessive Storage in MacBook

**URL:** <https://forum.cursor.com/t/excessive-storage-in-macbook/173914>\
**Category:** Help\
**Tags:** performance\
**Created:** [October 6, 2026, 10:06pm UTC](https://forum.cursor.com/t/excessive-storage-in-macbook/173914 "2026-10-06T22:06:08Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Akshat\_Gupta](https://avatars.discourse-cdn.com/v4/letter/a/bbce88/32.png) [@Akshat\_Gupta](https://forum.cursor.com/u/Akshat_Gupta)\
**Post date:** [October 6, 2026, 10:06pm UTC](https://forum.cursor.com/t/excessive-storage-in-macbook/173914/1 "2026-10-06T22:06:09Z")

</div>

### Where does the bug appear (feature/product)?

Cursor IDE

### Describe the Bug

my macos storage getting full  
cursor is using 40 plus GB how to clean it

### Steps to Reproduce

work on a big project , multi project

### Expected Behavior

it should use this much space

### Screenshots / Screen Recordings

 ![Screenshot 2026-10-07 at 3.34.39 AM.png](https://us1.discourse-cdn.com/cursor1/original/3X/d/2/d27d0accac185c9df49fda61198cccbe48f9a615.jpeg)

### Operating System

Linux

### Version Information

IDE: 3.23.23

### Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

---

<div class="post-metadata">

**Author:** ![kevinn](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/kevinn/32/101206_2.png) [@kevinn](https://forum.cursor.com/u/kevinn)\
**Post date:** [October 6, 2026, 10:23pm UTC](https://forum.cursor.com/t/excessive-storage-in-macbook/173914/7 "2026-10-06T22:23:28Z")

</div>

Hey @Akshat_Gupta, thanks for the report and the screenshot.

Almost all of that space is one file, `state.vscdb` (about 38 GB). It holds your local chat and agent history, and on heavy agent usage it can grow very large. The team is working on automatic cleanup for this. In the meantime, here’s how to shrink it:

1. If the disk is full, free a few GB first (emptying the Trash is enough). The cleanup needs working space.

2. Open the Command Palette (Cmd+Shift+P) and run Developer: Delete Old Chats… Enter a number of days. Chats older than that are deleted permanently. Wait for the “Deleted N chat(s)” notification.

3. Quit Cursor with Cmd+Q (not just the window), reopen it, and check `~/Library/Application Support/Cursor/User/globalStorage/state.vscdb`.

4. If it’s still large, run **Developer: GC Agent KV Blobs**. This rewrites the file and can take several minutes. It needs free space of about twice the remaining file size, so wait until you have that room. Then quit with Cmd+Q again so the file can finish shrinking.

Don’t delete `state.vscdb` by hand while Cursor is open. That removes all local chat history. Let me know any follow-up questions!

---

<div class="post-metadata">

**Author:** ![Akshat\_Gupta](https://avatars.discourse-cdn.com/v4/letter/a/bbce88/32.png) [@Akshat\_Gupta](https://forum.cursor.com/u/Akshat_Gupta)\
**Post date:** [October 6, 2026, 10:36pm UTC](https://forum.cursor.com/t/excessive-storage-in-macbook/173914/8 "2026-10-06T22:36:41Z")

</div>

Alredy tried both options but the difference was just 1-2 gbs

---

<div class="post-metadata">

**Author:** ![kevinn](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/kevinn/32/101206_2.png) [@kevinn](https://forum.cursor.com/u/kevinn)\
**Post date:** [October 6, 2026, 10:38pm UTC](https://forum.cursor.com/t/excessive-storage-in-macbook/173914/9 "2026-10-06T22:38:37Z")

</div>

Ok! Couple more things we can check. This may seem like overkill, but please do the following:

- Restart your Computer
- Update and Restart Cursor
- Run the delete old chats and the GC Agent KV blobs one more time.

Lmk if that helps at all! If not, we can dig further.

---

<div class="post-metadata">

**Author:** ![Akshat\_Gupta](https://avatars.discourse-cdn.com/v4/letter/a/bbce88/32.png) [@Akshat\_Gupta](https://forum.cursor.com/u/Akshat_Gupta)\
**Post date:** [October 9, 2026, 7:56pm UTC](https://forum.cursor.com/t/excessive-storage-in-macbook/173914/10 "2026-10-09T19:56:34Z")

</div>

i dont have much space in my mac can i use my external ssd?

---

<div class="post-metadata">

**Author:** ![MrCheese](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/mrcheese/32/114686_2.png) [@MrCheese](https://forum.cursor.com/u/MrCheese)\
**Post date:** [October 9, 2026, 9:09pm UTC](https://forum.cursor.com/t/excessive-storage-in-macbook/173914/11 "2026-10-09T21:09:40Z")

</div>

Sorry to butt in but holy…!

 ![image](https://us1.discourse-cdn.com/cursor1/original/3X/0/5/054d9b1f8a657e624c434f21e4f9cbb8e74df4dc.png)

What the…

 ![image](https://us1.discourse-cdn.com/cursor1/original/3X/f/9/f9d161391e30112800d7da9c94ef67c991074084.png)

Dude!

> [@kevinn](#):
>
> The team is working on automatic cleanup for this.

_They need to work a bit harder Kevin._ Having a 42gb file created by a single application is absolutely absurd. There is no rhyme or reason for the storage of chats to be so excessive. This needs attention and should be a priority. I thought Codex was bad for having its merry way with my very expensive SSD…

😅

---

<div class="post-metadata">

**Author:** ![MrCheese](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/mrcheese/32/114686_2.png) [@MrCheese](https://forum.cursor.com/u/MrCheese)\
**Post date:** [October 9, 2026, 9:45pm UTC](https://forum.cursor.com/t/excessive-storage-in-macbook/173914/13 "2026-10-09T21:45:11Z")

</div>

Well that made absolutely no difference to the file size. So how can we actually rid ourselves of this storage burden safely @kevinn?

---

<div class="post-metadata">

**Author:** ![kevinn](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/kevinn/32/101206_2.png) [@kevinn](https://forum.cursor.com/u/kevinn)\
**Post date:** [October 9, 2026, 11:41pm UTC](https://forum.cursor.com/t/excessive-storage-in-macbook/173914/14 "2026-10-09T23:41:33Z")

</div>

Hi @MrCheese We’re still working on this, I’ll let you know when we have an update. It is a priority, so we should have something to share in the coming weeks.

---

<div class="post-metadata">

**Author:** ![MrCheese](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/mrcheese/32/114686_2.png) [@MrCheese](https://forum.cursor.com/u/MrCheese)\
**Post date:** [October 16, 2026, 10:05pm UTC](https://forum.cursor.com/t/excessive-storage-in-macbook/173914/15 "2026-10-16T22:05:10Z")

</div>

BUMP.

Still no ability to clear these files…
