IntelliJ hanging while dumping threads

Answered

Hello,

IntelliJ hangs often since it was version IDEA 2016.2.4.

I took a look in the log, and while it hangs it seems it is busy with writing a thread dump. And this writing of a thread dump is taking a very, very, very long time. If the reason it's hanging is due to writing the thread dump, is there a way for me to disable it from doing that?

The hang all started with this:

2016-11-30 12:18:02,069 [586682664]   INFO - s.log.data.VcsLogRefresherImpl - Not enough first block
com.intellij.vcs.log.data.VcsLogRefreshNotEnoughDataException: Not enough first block
    at com.intellij.vcs.log.data.VcsLogJoiner.getFirstUnTrackedIndex(VcsLogJoiner.java:104)
    at com.intellij.vcs.log.data.VcsLogJoiner.getNewCommitsAndSavedGreenIndex(VcsLogJoiner.java:89)
    at com.intellij.vcs.log.data.VcsLogJoiner.addCommits(VcsLogJoiner.java:51)
    at com.intellij.vcs.log.data.VcsLogRefresherImpl$MyRefreshTask.join(VcsLogRefresherImpl.java:313)
    at com.intellij.vcs.log.data.VcsLogRefresherImpl$MyRefreshTask.doRefresh(VcsLogRefresherImpl.java:247)
    at com.intellij.vcs.log.data.VcsLogRefresherImpl$MyRefreshTask.run(VcsLogRefresherImpl.java:218)
    at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:635)
    at com.intellij.openapi.progress.impl.CoreProgressManager$3.run(CoreProgressManager.java:170)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:494)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:443)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
    at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:155)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:128)
    at com.intellij.openapi.application.impl.ApplicationImpl$2.run(ApplicationImpl.java:307)
    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)

 

And now while writing the thread dump it continuously adds things like this to the log:

 

2016-11-30 12:21:44,558 [586905153]   INFO - .diagnostic.PerformanceWatcher - High memory usage (free 68 of 725 MB) while dumping threads to <snip>

But I really don't need a thread dump, I need IntelliJ to let me continue to work in it without having to do "killall -9 java" :)

Any help in fixing the issue where IntelliJ often hangs for me would be greatly appreciated. Thanks!

 

0
1 comment

Please submit a ticket to support with the logs folder zipped (https://intellij-support.jetbrains.com/hc/articles/207241085), make sure to include all the logs and automatic thread dumps.

0

Please sign in to leave a comment.