UI freezes when using code completion

Completed

Hello,

I'm following the tutorial of the Eigen library and use only one file, main.cpp, in a Clion project.

When typing "Eigen::" I will get the code completion pop-up. But one out of three times or so the pop-up will not show and the UI will freeze for 10 seconds or more.

My system: ubuntu 14.04 LTS 64-bit (Intel® Core™ i7-6820HQ CPU @ 2.70GHz × 8 ). There's plenty of memory available, so I don't think the problem is related to memory usage. I've captured a CPU usage profile and also added the thread dump in this google drive folder:

https://drive.google.com/drive/folders/0B6WXi4uHfQfGMkp1SUNrTHpxZTg?usp=sharing

I am very satisfied using Clion for ROS applications, but this issue is frustrating.

Thank you for your time

0
2 comments

Hi!

Sorry for the inconvenience. I've created the issue in our tracker: https://youtrack.jetbrains.com/issue/CPP-9181. Please follow! Our development team will take a look at it.

0
Avatar
Permanently deleted user

HI @Anna /  @Jeroendemaeyer,

Great to hear that I am not the only one having this issue and that you are already working on it. I will comment the issue then.

I have some lagging with Eigen too, but it's ok because I mostly know what I need. However if I decided to include CImg ( https://github.com/dtschump/CImg.git ) CLion become unusable and it keeps freezing. 

Because the issues come with Eigen and CImg could we say that CLion as an issue with header only project ? How can I help ?

Best Regards,

Stéphane 

0

Please sign in to leave a comment.