IntelliJ 2017.2.2 : constantly freezing in a Symfony project.
Answered
Lock solid. I need to kill using xkill or the command line. Constantly happening since the last update. It happens in twig files, php files, it doesn't seem to matter. It's unusable. Please tell me the latest and greatest ways to get the information together that you need to find out why this is happening. My development is stalled. Many thanks. (It's happening under Debian Stable BTW).
Please sign in to leave a comment.
As a result of the investigation at https://youtrack.jetbrains.com/issue/IDEA-177987 a bug was reported for the Symfony plug-in: https://github.com/Haehnchen/idea-php-symfony2-plugin/issues/1007.
Please report a bug at https://youtrack.jetbrains.com/issues/WI with idea.log and the thread dumps attached:
https://intellij-support.jetbrains.com/hc/articles/207241085
https://intellij-support.jetbrains.com/hc/articles/206544899.
I found the issue. I believe it to be an IntelliJ bug.
I have a symbolic link in my /web directory to a filesystem containing hundreds of thousands of images in a hash based path hierarachy. As soon as I remove the symlink IntelliJ can then close/continue. Note that my /web directory IS marked to be ignored. I had a twig file open with asset links to my top level images directory. The first image is "all ok", the second image shows the setup where IntelliJ freezes. Note that it froze when I closed the project a short while ago and spring back to life when I removed the "person" symlink from a command prompt.
(1) OK
(2) Not ok : symlink to huge img repo:
See https://youtrack.jetbrains.com/issue/IDEA-127022.
What is a registry property? It mentions right at the end
Ignored directories can be indexed if they are referenced from the libraries.
Help | Edit Custom VM Options, add -Dindexer.follows.symlinks=false.
Added and restarted. Recreated the symlink. Same issue.
(1) Frozen
(2) deleted the symlink it comes back to life.
I have created a bug and linked to this thread. As stated above this suggestion does not fix it.
I googled some more:
https://intellij-support.jetbrains.com/hc/en-us/community/posts/208004749-Freeze-after-last-update-
Turing on "Power Save Mode" I can work: a "temp fix". It seems this is an ongoing issue. my VM options file:
idea64.vmoptions