# OOM Cursor - The window terminated unexpectedly (reason: ‘oom’, code: ‘-536870904’) solution

**URL:** <https://forum.cursor.com/t/oom-cursor-the-window-terminated-unexpectedly-reason-oom-code-536870904-solution/152063>\
**Category:** Guides\
**Tags:** performance, crashes, chat\
**Created:** [February 17, 2026, 1:57am UTC](https://forum.cursor.com/t/oom-cursor-the-window-terminated-unexpectedly-reason-oom-code-536870904-solution/152063 "2026-02-17T01:57:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Steve\_Kirsch](https://avatars.discourse-cdn.com/v4/letter/s/bc79bd/32.png) [@Steve\_Kirsch](https://forum.cursor.com/u/Steve_Kirsch)\
**Post date:** [February 17, 2026, 1:57am UTC](https://forum.cursor.com/t/oom-cursor-the-window-terminated-unexpectedly-reason-oom-code-536870904-solution/152063/1 "2026-02-17T01:57:24Z")

</div>

This has been discussed already in numerous posts.

It started affecting me recently on Windows with a long chat.

Apparently, deleting all your chats is the workaround. But perhaps just removing your most recent chats may work. You can do this on the “chat history” panel.

What I did was stop cursor and remove the most recently modified directory in:  
`C:\Users\stk\AppData\Roaming\Cursor\User\workspaceStorage`

That blew away my pane setting layout and chats, but that’s about it.

Hope that is helpful.

 ![Cursor_lbqLrk5VRg](https://us1.discourse-cdn.com/cursor1/original/3X/8/4/84adb726c1299562a59578e02bc912ef2dc63e1f.png)
