I frequently find CLion runs out of memory when using a reasonably large project (google's 'dawn' in this case - large but not massive!). The problem got so bad I splashed out on extra memory but it keeps happening.
However, I've recently noticed that when it does happen, CLion always seems to be executing the project's tests, and never seems to stop, it seems to be stuck somewhere.The project does include a lot of tests so maybe that's it?
Anyway, aborting the tests seems to reliably solve the memory error (alas too late for a refund on my RAM) and things return to normal.
I have tried to disable automatic tests but can't work out how to do it - is it possible?