Overnight Cursor devours on RAM

Hi.

Almost every time I leave Cursor on overnight (meaning I just lock screen and go away, no jobs are actively running inside Cursor), I come to this (yes, it’s not a screenshot since the machine is completely stuck and out of memory):

Cursor: 54.59Gb

Anyone else?
Is it anywhere on the list to fix?

MacBook Pro M2 16Gb, OS X 15.5
Cursor 1.2.4

hi @beshur and welcome to Cursor Forum,

this issue is not common and needs to be analyzed in detail. I have converted your post to a Bug Report.

Could you post a screenshot of Process Explorer from Cursor to see what is consuming so much memory?

Go to Cursor > Help > Open Process Explorer

Well, the problem is that it only occurs after long time of inactivity. Normally during the day it’s not leaking like this.
And when it happens none of the app responds until I force-quit them.
So I’m not able to provide the list.

Here is a list of my extensions if it helps
exts.txt (1.3 KB)

Hi, just wanted to add i leave Cursor on overnight aswell, and don’t have this issue. So it might be OS related since i’m on Windows.

Not necessarily OS related, I’m using MacOS as well and there are many other users with Mac or Windows without the issue.

@beshur could you still check the Process Explorer when you start Cursor and then before you leave your machine for the day after using it for a while, it could already show more RAM usage.

The list of extensions is not enough as it depends on what the extensions are doing in your setup.

You can disable extensions by starting with following command before you leave your machine.

cursor --disable-extensions

Alternatively:

  • Is there any Background Agent connected on your Cursor?
  • Are there any services/servers running in terminal?

Ok, thanks for the tips.
I made a Process Explorer screenshot now, and I will take one more before leaving and try to see what I have next morning.

Is there any Background Agent connected on your Cursor?

Yes, I’ve not been using it much in the past days

Are there any services/servers running in terminal?

Yes (they leak seriously too), but not inside Cursor.

Great thanks for the update. It will be necessary to exclude possible causes so the issue can be reproduced or fixed.

In some cases users reported that once they closed Background Agent the RAM usage dropped immediately.

I have the same issue, 65 GB memory usage overnight.
It automatically paused Cursor and other apps.

I made a snapshot of the process, however at that time it was 7.5 GB usage, since with 65 GB it wasn’t possible to make a snapshot at all.
But maybe you could see anything in it.

cursor_renderer_log.txt (219.4 KB)

Please try Cursor v1.3.4

1 Like

Have been quite stable for these two days, thaks!

2 Likes

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.