This is a legit problem it happens when the chat log gets too long and tries to render everything at once. I found a temp fix, but Cursor needs to actually sort this out.
My fix: When it starts lagging, tell Cursor to summarize everything so far, wipe the chat log and reference the summary file in all new prompts.
Prompt:
My laptop is crashing because our long conversation is using too much RAM. Let’s create a summary file so we can start fresh.
Please create a detailed and comprehensive summary of everything we’ve discussed so far and save it to “summary.md”. Be thorough and include all:
- Code snippets and technical solutions
- Project requirements and specifications
- Decisions we’ve made and their reasoning
- Unresolved questions or pending tasks
- Any preferences or constraints I’ve mentioned
Make the summary detailed enough that we can continue our work seamlessly in a new chat without losing any important context or technical details.