IntelliJ Idea 2017.2 freeze during indexing
The deletion of .idea folder doesnt work, the deletion of the home plugins folder doesnt' work, reinstalling the product doesn't work.
Now I have to make a course on a million ways to customize idea virtual machine options and who know what more just to use the product. Can't jetbrains add some logic to understand that if I had to force quit the application 10 times there may be a reson? send a report is not enough.
Can't jetbrains provide something that doesn't consumes all my work day?
After 30 minutes blocked in indexing in the same %, with the indexing progress not moving, I just marked that particular directory as excluded and the indexing kind of continue of restarted (no way to know) until it get locked again. Probably it was just taking too much time, how to know?
Can you add a function of safe indexing, skipping locked files, safe idea boot without plugins and from a new ~./* set of folders?
Have you ever consider about indexing priorities? I have indexing priorities on my own files, then the libraries.
Allow to have the indexing module as a plug itself, so other people will create better indexing strategies and we can disconnect jetbrains indexing algorithm.
In languages there are those constructions like try/catch and the technique of timeout, that you can combine together to avoid this sort of things.
Is not logic to index the same file for 10 hours I guess. If you need get a lock of the file before or skip.
A menu option "Freeze -> Report" to ease the process of reporting each time the IDE freezes may help. There you can load the logs, or pick which log to send, etc.
At the same time indexing is a blind progress bar with no %, so I don't know if letting it index without interruption will help, because it can take 20 minutes or 20 hours. In another moment the progress bar is at 100% and keeps in the same folder forever.
At least an option to set "Show real progress when indexing", so you first count the files to index and their sizes, and then you start processing and showing real progress, not a bar that hangs at any moment and useful for nothing. Seriously, what is the use of the dumb/blind indexing progress?
This has happened so many times with so many jetbrains products as can be seen in the knowledge base, that is making the IDE unreliable and not recommended.
Please sign in to leave a comment.
IDE is making automatic thread dumps when it's frozen. A menu will not help when IDE is frozen since you will not be able to use it.
See https://intellij-support.jetbrains.com/hc/articles/206544899.
If IDE is not frozen and only indexing doesn't complete, please file a bug at https://youtrack.jetbrains.com/issues/IDEA with the logs attached (https://intellij-support.jetbrains.com/hc/articles/207241085). Manual thread dumps may also help in this case, use jstack.
Note that you are not using the current version, some bugs related to indexing were fixed in 2017.3.x versions, please try the current version from http://www.jetbrains.com/idea/download/index.html before submitting a bug to YouTrack.
I think Jebtrains should implement ALL the things I mentioned before.
At the same time, one of my elixir language files was not compiling, I commented the code, and the problem was solved after restart.
Indexing completed.
But please, don't take this as "solved then ignore and don't report to JetBrains upper management".
Notify JetBrains upper management, so somebody can analyze this and implement a serious indexing strategy that doesn't block at the first issue, plus safe start with plugins off, plus automatic compression and report of log directory, and all the points I mentioned above.
Thanks
Without a reproducible test case or the logs/dumps, there is nothing to analyze here and such report would be closed as "Incomplete" or "Can't reproduce".
You can use https://plugins.jetbrains.com/plugin/7819-performance-testing for reporting issues and collecting information.
Problem Serge is that I don't work for you not Jetbrains, I'm not an internal customer of Jetbrains like you may be.
I'm an external customer that bought the product, once in my company, and once for me for personal/professional use.
That's why I'm saying that the more Jetbrain closes bugs without understanding this, the worst for jetbrains is.
Anyway... if jetbrains want to close the issue, do whatever you want.
This is not even an issue, you've posted on the forum without any details, logs or the reproducible test case and want us to guess the problem and magically fix it from your description. Sorry, it doesn't work this way. Try to put yourself on our place. What if your product had the same problem? You can't reproduce it, it happens only for one customer, you ask him for the details how to reproduce it and for the logs, your customer refuses to provide you anything useful. What would you do?
1) the IDE now freezed again. So I will follow and create another issue.
2) Your indexing freezing happening only for one customer?
search the forum for index freeze, you will find more than one customer.
I'm a senior software developer, are you a developer?
I'm proposing several strategies that if put in place, the product will recover from many situations.
Anyway don't worry, the day I proposed to use a feature via email, the answer was "do you see it in another IDE?" and a couple of things showing that your company culture cannot think out of the box, there is no way to make you change your mind.
So to answer your question, if my customer is telling me something I will notify the upper management, probably you can't do it because you can get fire, but that's not your fault nor mine.
Here you have something to learn from, of only one customer, just saying that his car was allergic to vanilla ice cream.
http://www.kepner-tregoe.com/blog/help-my-car-is-allergic-to-vanilla-ice-cream-a-study-in-problem-solving-part-ii/
Quality is not about how many customers are experiencing a problem anyway. If only one customer experiences the issue, and reports such a detailed alternative strategy, may be that customer is just plain more intelligent or cares more about your jetbrains company that the other customers.
I'm IntelliJ IDEA support lead providing support for this product for 16 years. I know when to report to upper management and when not. If the information to understand the problem is not enough, there is nothing the management/developers will be able to do about it. I will just waste their time that could be spent on solving other problems where all the required details are already available. And no, I will not be fired for reporting anything to anyone at JetBrains, this is not how it works here.
I'm not saying you are the only customer with indexing problems, but the root case for your problem could be completely different. It could be even a bug in the third-party plug-in. As you didn't provide any logs, we don't even known what plug-ins you are using. We don't know if there is an exception related to indexing that could be already logged in YouTrack or even already fixed in the EAP build.
We want to help you with the problem, but refusing to provide logs/dumps will not speed up the issue resolution.
This thread reminds me another one: https://intellij-support.jetbrains.com/hc/en-us/community/posts/203378724-IDEA-is-very-very-slow and the discussion it caused on Reddit: https://www.reddit.com/r/programmingcirclejerk/comments/78ynsr/i_suggest_you_escalate_this_to_whoever_in_the/ .
I'm following your advice and installing a new version. Will see soon.
the plugin that may be causing problems is intellij-elixir
I will follow the links you send me, etc. and provide logs if needed.
Beside that I may have reported incorrectly the issue because I was frustrated. But will eat my own ego and follow the steps, and report what happened.
Beside that, you still can propose things to developers I guess. And there are many techniques to deal with isolating plugins.
Thank you! There were some recent cases when .ignore plug-in has caused indexing hangs and find usgaes feature stopping working. We had to even block it until the problem was fixed since we spent a lot of time analyzing reports and answering the questions. IntelliJ IDEA indexing is very complex and it's not something that can be patched with try/catch and timeout. It could be very hard and time consuming to make it bulletproof against third-party plug-in bugs. There would be always some way for a plug-in to abuse the API and use it incorrectly causing various problems.
If it turns out to be Elixir plug-in issue, we'd report it here: https://github.com/KronicDeth/intellij-elixir/issues .
I read those articles in this forum before, regarding .gitignore, but I don't have it installed, most probably because I didn't allow me to install or was not listed. Because in the past I always use it in my phpstorm, not in this intellij idea.
But I think is either the size of the project, not using the newest version with fixes, the java vm memory size, or theintellij-elixir plugin.
Still downloading, for some reason is taking like half an hour to download.
So I would say the problem is solved so far.
Thanks
Thanks for the information. Should you encounter any issues, don't hesitate to submit them directly at https://youtrack.jetbrains.com/issues/IDEA with the logs/thread dumps attached.