Total freeze-up in version 2016.3.2
Hello,
I'm on macOS Sierra and been trying out CLion since EAP Version 1.x. This problem has always been there. In recent times it got a lot worse, though. I am developing a medium sized C++ project (set up with CMAKE) mainly based on template programming. I observe constant and pretty much reliably reproducable freezes when I do one of the following:
* Command-Click on a symbol.
* Break in template classes
* Some other problems that seem to cause this, but I can't really reproduce those so reliably.
When the freezes occur, occasionally it takes a few seconds (~10s) and snaps out of it, in most instances though there is nothing to do but to restart the IDE. When the freezes happen I get 200% - 400% CPU (it's locking up 2-4 cores) and the IDE becomes completely unresponsive. However, Finder still registers it as 'active' (still showing 'quit' not 'force quit' as option to end in the dock), which makes me think this is perhaps a thread issue. I have tried the following steps to remedy the problems without avail:
* Invalidate caches and restart
* Increase the JVM memory parameters
* Delete the CLion directory in ~/Library
* Delete all Clion related preferences etc.
* Re-install the software from scratch
* Delete my project and check out from scratch
* Run the project with different CMAKE options
I have given up using CLion on account of this issue, as my main C++ development is completely hamstrung by this issue.
Please sign in to leave a comment.
Hi, Jürgen.
Sorry for the inconvenience! Could you please capture a CPU snapshot so we can take a look at what is going on? Please send it to clion-support at jetbrains.com.
I tried following the instructions, just like many months ago when I first reported this bug. I can start the CPU profiling, but I can not reach the stopping because I'm staring at an unresponsive UI with a spinning beachball. I also added -XX:+HeapDumpOnOutOfMemoryError to the vmoptions file, but no error message or dump is produced. Whatever the bug, it freezes the IDE up for good.
You can clone my project and try it out for yourself:
git clone https://github.com/meteo-ubonn/meanie3D.git