I am experiencing performance issues with my cursor IDE. It kept on crashing with the error message:
The window terminated unexpectedly (reason: ‘crashed’, code: ‘5’)
There are a lot of other discussions about this bug
I tried to fix this using the mentioned methods und i got it back to work temporally but not consistent. After further trouble shooting I found the problem: a big cursor rule file in my project. I am using SvelteKit and most LLMs are trained on the SvelteKit 4 docs, but there is the newer version 5 that I am using. So i copied the docs for version 5 and create a project based rule, so that cursor always uses the latest documentation. As you can imagine, this file is quite long and every time the agent uses it, cursor crashes.
My question is, if there is a official limit/best practices on how big cursor rules file can be?