IntelliJIdea2017.2 fails to index project
已回答
Crashes most times I try to open a fairly large project.
I am not able to upload the logs unfortunately as it is my work machine and locked down. Any help on debugging the logs would be great
请先登录再写评论。
Try starting with default settings: (rename/remove IDE settings and caches folders).
If issue remains describe exactly what happens (how it crashes). Are there java crash logs (files with names like `java_error_in_idea_*.log` in your user home directory)?
The last few times that it has been happening, it got to <PROJECT>/buck-out/gen/lib/scala-compiler-m...
I have buck-out marked as excluded.. I thought that would prevent indexing.
cpu goes up to ~800 (all my cores), and I have to kill the process before it crashes my machine with the beach ball of death.
no error logs in the home directory
There are a lot of these in the threadDump-<date>.txt:
a"ApplicationImpl pooled thread 111" prio=0 tid=0x0 nid=0x0 waiting on condition
java.lang.Thread.State: TIMED_WAITING
on com.intellij.openapi.application.impl.ReadMostlyRWLock@18cae81b
at sun.misc.Unsafe.park(Native Method)
at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
at com.intellij.openapi.application.impl.ReadMostlyRWLock.a(ReadMostlyRWLock.java:112)
at com.intellij.openapi.application.impl.ReadMostlyRWLock.readLock(ReadMostlyRWLock.java:103)
at com.intellij.openapi.application.impl.ApplicationImpl.i(ApplicationImpl.java:964)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:924)
at com.intellij.lang.javascript.dialects.JSLanguageLevelPusher.lambda$updateJSLibraries$1(JSLanguageLevelPusher.java:133)
at com.intellij.lang.javascript.dialects.JSLanguageLevelPusher$$Lambda$851/687250917.run(Unknown Source)
at com.intellij.openapi.application.impl.ApplicationImpl$1.run(ApplicationImpl.java:330)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)t java.lang.Thread.run(Thread.java:745)
I tried renaming the cache and settings folders
I
I just moved the plugins directory as well, and that seems to have resolved it... no idea which plugin was causing me issues though... I might get back on to you if it happens again :) Thanks
Try also updating to the latest IDE version from https://www.jetbrains.com/idea/download.