It was roughly ten or twenty rounds. After so many conversations, my chat history with this AI became very long, and then something terrible happened. My chat tool started freezing, or rather, the entire code editing page started freezing, becoming unresponsive for about five or six seconds, sometimes more than ten. So what should I do? Similarly, I found that using Cursor extensively... its memory consumption is incredibly high. I currently have two editor pages open, one for web scraping and one for writing projects, and these two editors are taking up several gigabytes, even 4 or 5 gigabytes of memory. That's outrageous; the memory usage is ridiculously high. I'm using Cursor on a macOS M1 Pro 32GB 26.4.
#Code editor consumes excessive memory and the AI chat window lags severely after lengthy conversatio
33 messages · Page 1 of 1 (latest)
Hello There!
Could you be more specific with the AI model you are talking too?
Are you aware of the context token limit
?
Hello, I'm using Claudesonnet 4.6, but this isn't related to the model, right? It's probably caused by the front-end page rendering consuming too much memory.
Yes, I believe it might have something to do with how much you've talked with the AI
Are you aware of your context usage?
However, I don't have this problem with VS Code; it only gets stuck in the cursor. I clearly suspect it's the code highlighting index; it's displaying the entire long dialogue, causing frequent refreshes and then crashing.
But you said you have a lot of conversations with the AI. I believe the progressive chats and the context usage might be one of the factors causing this extreme overload. I also use an M1 Macbook Air and cursor is most of the time at it's lowest in terms of consumption. I expect some consumption as Cursor is built on VS Code.
You also said Webscraping
Web scraping projects often generate thousands of files, temp outputs, logs, JSON dumps.
Cursor often watches all of them.
in your json file you should add exclusions.
What does this mean? It means that because of this cursor, it indexes the entire codebase, and I need to define an additional rule in the JSON to exclude it from indexing, right?
Chatgpt says this is how an exclusion should be added:
"**/node_modules/**": true,
"**/.git/**": true,
"**/dist/**": true,
"**/logs/**": true,
"**/data/**": true
}```
it will significantly lower your freezing
yes, otherwise it will index everything
let me know if your issue has resolved then
goodluck!
what
what is that chinese
Okay, okay. So, where is that JSON file? I think I have a solution to my problem. Then what? I was previously opening two cursor windows simultaneously, which caused high memory usage, around 3-4 GB. Do you think this is reasonable? Do you recommend opening two windows and running two projects simultaneously?
no i dont really recommend that, unless the projects are low-end and not too big.
go to settings,
type
"Preferences: Open Workspace Settings (JSON)"
you will then find the settings.json file
in that file paste the code for exclusion i had provided you
this will make it much better
Okay, thank you for your reply. Are you the person in charge of cursor? How about we add each other as friends so we can contact each other if we encounter any problems? Thanks!
Nope! I'm just a normal member trying to help people out! Although I don't do friend requests, I am always here in the server so you can ping me whenever you need help. Goodluck with your project!
Okay, I wish you all the best.
Hey @small mist, Macos ram issues are common, not closing Cursor properly can leave orphaned extension-host processes, consuming extreme RAM (40-100+ GB), to fix it, be sure to close cursor everytime with Cmd+Q instead of relying on the red X
If this doesn't fix your issue, we'll figure out this issue together
It will be great to have your cursor version info if you don't mind
Yes, I used to just close the lid of my macOS computer and go to sleep at night, but now I have to turn off the cursor.cursor is the newest version
