Since very recently, Cursor has been unbelievably unstable: as soon as you alt-tab, Cursor essentially crashes, stays completely frozen and you are unable to perform any actions. You are basically unable to perform any coding on Cursor. There is nothing to reproduce because it happens as soon as you perform any action outside of Cursor.
It makes the program essentially unusable.
RAM and CPU usage is within normal range (2gb, 1%), therefore the problem stems from somewhere within Cursor.
There needs to be serious changes!
On Mac, I traced it to process tsserver which eats into gigabytes of memory in linear fashion - as if there’s issue with GC. Restarting it everyday or so helps, but it didn’t happen before.