Performance and memory problems

Since CLion tries to parse your whole code base, including all the header files used, to understand your code correctly and provide accurate code completion, code navigation, refactorings and other intelligent features. On large code bases (especially when using Boost), performance and memory issues during indexing and editing are possible.

Increasing memory may help to resolve performance problems. To check the memory usage, enable the memory indicator in Preferences/Settings | Appearance & Behavior | Appearance | Show memory indicator.

To report a performance problem, please follow these instructions. To find IDE logs to attach to the problem, use this link.

 

27 comments
Comment actions Permalink

Are there any other actionable items for performance issues? I have more than sufficient memory available sitting unused, yet something as simple as toggling between header and cpp file takes 10+ seconds. CLion performance seems to have steadily degraded over the past year I've been using it to the point that it's bordering on unusable for me now.

8
Comment actions Permalink

Any updates on this? I have the same exact issue with base IDEA.

0
Comment actions Permalink

I enabled the memory indicator as suggested, where would I expect to see the indicator?

0
Comment actions Permalink

It's in the bottom right corner of the window

0
Comment actions Permalink

Do we have any solution for this performance issue? I am using Pycharm inside my virtual box and its eating all my memory and slows down my performance. How can I fix this performance issue. Please suggest.

2
Comment actions Permalink

Having very similar issue with IDEA.

os: macOS mojave

cpu: 8th gen i7

mem: 16gb @ 2400mhz

Intellij IDEA @ 2018.3.1

No matter how much memory I've allocated to IDEA, it tries to consume it all and the editor gets really slow and non-responsive. I've allotted 1 -> 1.5 -> 2 -> 2.5 gb of ram and it still eats it all up. Doesn't matter what its set to.

This is a serious issue and extremely bothersome. May be going back to vscode if this doesn't get resolved.

12
Comment actions Permalink

I am having the same problem.  I set the heap to 2g so that I can get more time before the memory is used up.  

I may not continue my subscription and just switch to vscode.   This problem has been around for a long time and has never been resolved. 

FYI - I get this with a clean setup developing angular projects. 

2
Comment actions Permalink

2Gb is a default xmx value. I would recommend you to increase the value for Angular project. Also you can provide the memory snapshots to our support for further investigation, especially if you suspect some memory leak.

0
Comment actions Permalink
I run Node, Angular dev server, MongoDB and Apache Livy outside of IntelliJ Ultimate in Iterm sessions.   
 
The only thing running in Intellij is the editor and sometimes the debugger.   The memory shows around 250mb when I first start and after about an hour or 2 it increases close to the 2G max that I have set.   This has been happening for about a year and I have tried every version of Intellij with the same problem.
 
Is this a bug with the typescript support ?   -  When I switch to my Scala / Spark projects I don’t have this problem. 
 
Not sure how to take a memory snapshot but will search on how to. - John
1
Comment actions Permalink

My CLion (2018.3.4) goes crazy with memory usage. It starts normal but sometimes at reloading my CMake it hangs some minutes and than shows the "Out of Memory" window. I already allowed -Xmx 20'000 MB but it still happens. This cannot be normal right?

 

 

0
Comment actions Permalink

I've just upgraded phpstorm from 2018.2.1 to 2019.1 and memory issues started immediately. increased Xmx to 2GB, Activity monitor shows 2.53GB in use, and still feels slowish at times. 

 

1
Comment actions Permalink

Same with Intellij (no surprise) - I have Xmx to 7750m and using IDE for ~4 hours ends with about 4.5 GB unreleasable memory....

1
Comment actions Permalink

to be fair the problem was gone next day, can't attribute that to anything. I disabled few plugins when I was having the problem and even was in running in PowerSave mode, but nothing make any difference. Next day I began work expecting to be annoyed by the memory issue, but quickly forgot about that until I realized it was gone, I'm hitting 700MB average, just like before. go figure ¯\_(ツ)_/¯ 

 

Edited by Gsegura
0
Comment actions Permalink

I am also having the same issues on Webstorm, Phpstorm and IDEA, no matter how much I increase the memory heap it eventually reaches the limit. I'm having this for months now and I have to restart the IDEs on regular intervals to keep working, these have to be memory leaks.

2
Comment actions Permalink

I use WebStorm on two MacOS - MacBook Pro 32gb ram and MacMini 16gb ram. No matter how much heap I set WebStorm use it all. When I set 4gb sometimes it need 2 days, sometimes if I have multiple instance of WebStorm it use it during 4-6 hours. It's not enough to close WebStorm instance - I must close all instances, kill app and start it again to get memory free.

It's really annoying.

1
Comment actions Permalink

After some time clangd uses about 300M and max heap size: 7,9G, allocated 7.8G, used 7.8G. OS X 10.14.5, Clion 2019.1.4.

0
Comment actions Permalink

I did the same but it’s only give me more time between restarts...

0
Comment actions Permalink

I have the same issues on PhpStorm for a few days now. Can't continue working like this.

0
Comment actions Permalink

Webstorm is using all my RAM (16GB). It is freezing my ubuntu 18.04 with no option more than power off the computer.

1
Comment actions Permalink

From top:

98778 clion 1.7 40:27.85 48 1 4123- 2802M- 1280K 427M- 98778 1

0
Comment actions Permalink

In May when I first reported this, the problem went away by itself a couple days later. Since then it has happened again only once or twice (during crunch time period, of course) so I just went back to previous version. When job permitted I tried again and it worked fine, so I think this must be related to maybe an update process or some sort of maintenance job, because it always happened during the first minutes of launching, and it occurred whether or not I was using the editor.

The only thing I did the first time was to disable as much plugins as possible, and even worked a while in power save mode.

 

 

Edited by Gsegura
0
Comment actions Permalink

Dear all,

Memory and high CPU issues require memory dumps or snapshots to investigate. Please report them in our tracker and we'll proceed. These issues can't be handled by just a description as it's completely unclear what's going on for you there. Thank you.

-1
Comment actions Permalink

Having the same problem, latest PhpStorm increases RAM consumption constantly until eventually nothing is left, Ubuntu 18.04 does not respond so I have to power off

0
Comment actions Permalink

Hi, I am facing the same issue of low memory after using webstorm fro 1-2 hrs and after that its kind of impossible to keep using webstorm. Is there any timeline when will this issue be fixed?

0
Comment actions Permalink

Roman, M Faizan,

Please report snapshots and logs to the support of the corresponding product. I'm not sure you are talking about the same issues here. And in each case, some detailed investigation is required.

0
Comment actions Permalink

FWIW - I am see the same issue in Rubymine and Webstorm almost daily.  The longer I use the IDE the more memory it consumes until it becomes painfully slow and I have to restart. The larger the codebase the faster it happens.

0
Comment actions Permalink

Seeing as I just renewed my JetBrains subscription and this is still happening across all or nearly all products, it's very disappointing.  Just had Rider puke after consuming 11gb of memory on Mac.  Granted it's for a 100 project sized solution, but the memory consumed is kind of ridiculous given the entire code base.  

0

Please sign in to leave a comment.

Have more questions?

Submit a request