go-lang-plugin-org / go-lang-idea-plugin

Google Go language IDE built using the IntelliJ Platform
https://plugins.jetbrains.com/plugin/5047
Other
4.56k stars 571 forks source link

indexing time too long,help! #2536

Open carbin-gun opened 8 years ago

carbin-gun commented 8 years ago
dlsniper commented 8 years ago

Hi,

There are several cases where (re)indexing process is triggered otherwise, when you open a Go project there's only a quick scan of the packages to see if there's anything new or not (at least to my understanding). That part takes on my machine about 5-10 seconds but usually I don't notice it. By indexing you mean the full indexing that happens after you originally install IDEA or if you go to File | Invalidate Caches / Restart | Invalidate caches ? Do you update plugins frequently? Or use Invalidate caches in other projects? I'll try not to speculate on what's the problem (because I don't know that system at all) but I think it's better if you can provide the log file of IDEA and let either @zolotov or @ignatov have a look on this one. Thank you.

carbin-gun commented 8 years ago

hi @dlsniper @zolotov and @ignatov ,I've uploaded the log and one threaddump as followed.It seems like that the indexing time took a long time,then the Performance watcher began to do the thread dump then from the log content.

The following is the idea.log content

2016-05-26 14:52:53,009 [   5503]   INFO -     #com.intellij.util.ui.JBUI - UI scale factor changed: 1.0
2016-05-26 14:52:53,052 [   5546]   INFO -     #com.intellij.util.ui.JBUI - UI scale factor changed: 1.0
2016-05-26 14:52:53,309 [   5803]   INFO - rains.ide.BuiltInServerManager - built-in server started, port 63342
2016-05-26 14:52:53,349 [   5843]   INFO - gs.impl.UpdateCheckerComponent - channel: release
2016-05-26 14:52:54,589 [   7083]   INFO - plication.impl.ApplicationImpl - 89 application components initialized in 4110 ms
2016-05-26 14:52:54,620 [   7114]   INFO - .intellij.idea.IdeaApplication - App initialization took 7669 ms
2016-05-26 14:52:54,965 [   7459]   INFO - .openapi.application.Preloader - Finished preloading com.intellij.openapi.actionSystem.impl.ActionPreloader@538f20f8
2016-05-26 14:52:55,803 [   8297]   INFO - .openapi.application.Preloader - Finished preloading com.intellij.ide.ui.search.SearchableOptionPreloader@124603a5
2016-05-26 14:52:58,492 [  10986]   INFO - ellij.project.impl.ProjectImpl - 21 project components initialized in 197 ms
2016-05-26 14:52:58,492 [  10986]   INFO - le.impl.ModuleManagerComponent - 0 module(s) loaded in 0 ms
2016-05-26 14:53:13,171 [  25665]   INFO - CompilerWorkspaceConfiguration - Available processors: 8
2016-05-26 14:53:13,464 [  25958]   INFO - ellij.project.impl.ProjectImpl - 158 project components initialized in 479 ms
2016-05-26 14:53:13,541 [  26035]   INFO - le.impl.ModuleManagerComponent - 1 module(s) loaded in 77 ms
2016-05-26 14:53:14,098 [  26592]   INFO - .diagnostic.PerformanceWatcher - Pushing properties took 23ms; general responsiveness: ok; EDT responsiveness: ok
2016-05-26 14:53:16,114 [  28608]   INFO - tartup.impl.StartupManagerImpl - /Users/fanfu/GoLib/src/github.com/cihub/seelog/.idea case-sensitivity: expected=false actual=false
2016-05-26 14:53:17,856 [  30350]   INFO - tor.impl.FileEditorManagerImpl - Project opening took 4907 ms
2016-05-26 14:53:18,035 [  30529]   WARN - ewvfs.persistent.RefreshWorker - [+] fs=LocalFileSystem dir=file:///Users/fanfu/GoProjects/src/rsa_temp name=c:\temp\private.pem
2016-05-26 14:54:36,660 [ 109154]   INFO - indexing.UnindexedFilesUpdater - Unindexed files update canceled
2016-05-26 14:54:36,664 [ 109158]   INFO - pl.ProjectRootManagerComponent - project roots have changed
2016-05-26 14:54:36,674 [ 109168]   INFO - .diagnostic.PerformanceWatcher - Pushing properties took 1ms; general responsiveness: ok; EDT responsiveness: ok
2016-05-26 14:54:46,154 [ 118648]   INFO - ellij.project.impl.ProjectImpl - 158 project components initialized in 284 ms
2016-05-26 14:54:46,163 [ 118657]   INFO - le.impl.ModuleManagerComponent - 1 module(s) loaded in 9 ms
2016-05-26 14:54:46,420 [ 118914]   INFO - .diagnostic.PerformanceWatcher - Pushing properties took 10ms; general responsiveness: ok; EDT responsiveness: ok
2016-05-26 14:54:47,183 [ 119677]   INFO - pl.ProjectRootManagerComponent - project roots have changed
2016-05-26 14:54:47,183 [ 119677]   INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 763ms; general responsiveness: ok; EDT responsiveness: ok
2016-05-26 14:54:47,204 [ 119698]   INFO - .diagnostic.PerformanceWatcher - Pushing properties took 5ms; general responsiveness: ok; EDT responsiveness: ok
2016-05-26 14:54:47,218 [ 119712]   INFO - tartup.impl.StartupManagerImpl - /Users/fanfu/GoProjects/src/go.planetmeican.com/baseinfo/.idea case-sensitivity: expected=false actual=false
2016-05-26 14:54:47,854 [ 120348]   INFO - tor.impl.FileEditorManagerImpl - Project opening took 1991 ms
2016-05-26 14:57:07,084 [ 259578]   INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 139880ms; general responsiveness: 0/420 sluggish, 280/420 very slow; EDT responsiveness: ok
2016-05-26 14:57:07,084 [ 259578]   INFO - .diagnostic.PerformanceWatcher - Indexable file iteration took 150410ms; general responsiveness: 0/450 sluggish, 300/450 very slow; EDT responsiveness: ok
2016-05-26 14:57:13,611 [ 266105]   INFO - .diagnostic.PerformanceWatcher - High memory usage (free 308 of 1546 MB) while dumping threads to /Users/fanfu/Library/Logs/IntelliJIdea2016.1/threadDumps-20160526-145253-IU-145.972/20160526-145708/threadDump-20160526-145713.txt
2016-05-26 14:57:28,647 [ 281141]   INFO - .diagnostic.PerformanceWatcher - High memory usage (free 294 of 1546 MB) while dumping threads to /Users/fanfu/Library/Logs/IntelliJIdea2016.1/threadDumps-20160526-145253-IU-145.972/20160526-145708/threadDump-20160526-145728.txt

the dumped file of threadDump-20160526-145728.txt

"AWT-EventQueue-0 2016.1.2#IU-145.972.3 IDEA, eap:false, os:Mac OS X 10.11.5, java-version:JetBrains s.r.o 1.8.0_76-release-b162" prio=0 tid=0x0 nid=0x0 runnable
     java.lang.Thread.State: RUNNABLE

    at gnu.trove.TIntArrayList.forEach(TIntArrayList.java:577)
    at com.intellij.util.indexing.FileBasedIndexImpl$ProjectIndexableFilesFilter.<init>(FileBasedIndexImpl.java:1134)
    at com.intellij.util.indexing.FileBasedIndexImpl$ProjectIndexableFilesFilter.<init>(FileBasedIndexImpl.java:1108)
    at com.intellij.util.indexing.FileBasedIndexImpl.projectIndexableFiles(FileBasedIndexImpl.java:1195)
    at com.intellij.util.indexing.FileBasedIndexImpl$15.convert(FileBasedIndexImpl.java:1058)
    at com.intellij.util.indexing.FileBasedIndexImpl$15.convert(FileBasedIndexImpl.java:1035)
    at com.intellij.util.indexing.FileBasedIndexImpl.a(FileBasedIndexImpl.java:1007)
    at com.intellij.util.indexing.FileBasedIndexImpl.a(FileBasedIndexImpl.java:1081)
    at com.intellij.util.indexing.FileBasedIndexImpl.processValues(FileBasedIndexImpl.java:985)
    at com.intellij.psi.search.FilenameIndex.processFilesByName(FilenameIndex.java:128)
    at com.intellij.psi.search.FilenameIndex.processFilesByName(FilenameIndex.java:114)
    at com.intellij.psi.search.FilenameIndex.getFilesByName(FilenameIndex.java:192)
    at com.goide.project.GoModuleLibrariesInitializer$5.run(GoModuleLibrariesInitializer.java:123)
    at com.intellij.ide.startup.impl.StartupManagerImpl.b(StartupManagerImpl.java:344)
    at com.intellij.ide.startup.impl.StartupManagerImpl.access$700(StartupManagerImpl.java:60)
    at com.intellij.ide.startup.impl.StartupManagerImpl$3.run(StartupManagerImpl.java:167)
    at com.intellij.openapi.project.DumbServiceImpl.runWhenSmart(DumbServiceImpl.java:163)
    at com.intellij.ide.startup.impl.StartupManagerImpl.a(StartupManagerImpl.java:164)
    at com.intellij.ide.startup.impl.StartupManagerImpl.access$1000(StartupManagerImpl.java:60)
    at com.intellij.ide.startup.impl.StartupManagerImpl$4.run(StartupManagerImpl.java:198)
    at com.intellij.openapi.project.DumbServiceImpl.a(DumbServiceImpl.java:328)
    at com.intellij.openapi.project.DumbServiceImpl.access$1300(DumbServiceImpl.java:54)
    at com.intellij.openapi.project.DumbServiceImpl$4.run(DumbServiceImpl.java:306)
    at com.intellij.openapi.project.DumbPermissionServiceImpl.allowStartingDumbModeInside(DumbPermissionServiceImpl.java:37)
    at com.intellij.openapi.project.DumbService.allowStartingDumbModeInside(DumbService.java:283)
    at com.intellij.openapi.project.DumbServiceImpl.a(DumbServiceImpl.java:304)
    at com.intellij.openapi.project.DumbServiceImpl.access$1100(DumbServiceImpl.java:54)
    at com.intellij.openapi.project.DumbServiceImpl$12.run(DumbServiceImpl.java:516)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
    at java.awt.EventQueue.access$500(EventQueue.java:97)
    at java.awt.EventQueue$3.run(EventQueue.java:709)
    at java.awt.EventQueue$3.run(EventQueue.java:703)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
    at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:857)
    at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:658)
    at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:386)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

"ApplicationImpl pooled thread 43" prio=0 tid=0x0 nid=0x0 runnable
     java.lang.Thread.State: RUNNABLE

    at com.intellij.openapi.util.io.FileSystemUtil$JnaUnixMediatorImpl$UnixLibC.lstat(Native Method)
    at com.intellij.openapi.util.io.FileSystemUtil$JnaUnixMediatorImpl.getAttributes(FileSystemUtil.java:451)
    at com.intellij.openapi.util.io.FileSystemUtil.getAttributes(FileSystemUtil.java:123)
    at com.intellij.openapi.vfs.impl.local.LocalFileSystemBase.getAttributes(LocalFileSystemBase.java:790)
    at com.intellij.openapi.vfs.newvfs.persistent.RefreshWorker.a(RefreshWorker.java:219)
    at com.intellij.openapi.vfs.newvfs.persistent.RefreshWorker.a(RefreshWorker.java:132)
    at com.intellij.openapi.vfs.newvfs.persistent.RefreshWorker.scan(RefreshWorker.java:97)
    at com.intellij.openapi.vfs.newvfs.RefreshSessionImpl.scan(RefreshSessionImpl.java:156)
    at com.intellij.openapi.vfs.newvfs.RefreshQueueImpl.a(RefreshQueueImpl.java:105)
    at com.intellij.openapi.vfs.newvfs.RefreshQueueImpl.access$100(RefreshQueueImpl.java:43)
    at com.intellij.openapi.vfs.newvfs.RefreshQueueImpl$1.run(RefreshQueueImpl.java:82)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at com.intellij.util.concurrency.BoundedTaskExecutor$2.run(BoundedTaskExecutor.java:187)
    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)

"ApplicationImpl pooled thread 30" prio=0 tid=0x0 nid=0x0 runnable
     java.lang.Thread.State: RUNNABLE

    at sun.management.ThreadImpl.dumpThreads0(Native Method)
    at sun.management.ThreadImpl.dumpAllThreads(ThreadImpl.java:454)
    at com.intellij.diagnostic.ThreadDumper.dumpThreadsToFile(ThreadDumper.java:58)
    at com.intellij.diagnostic.ThreadDumper.getThreadDumpInfo(ThreadDumper.java:48)
    at com.intellij.diagnostic.PerformanceWatcher.dumpThreads(PerformanceWatcher.java:290)
    at com.intellij.diagnostic.PerformanceWatcher.b(PerformanceWatcher.java:246)
    at com.intellij.diagnostic.PerformanceWatcher.a(PerformanceWatcher.java:227)
    at com.intellij.diagnostic.PerformanceWatcher.access$000(PerformanceWatcher.java:57)
    at com.intellij.diagnostic.PerformanceWatcher$1.run(PerformanceWatcher.java:99)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
    at com.intellij.util.concurrency.SchedulingWrapper$MyScheduledFutureTask.run(SchedulingWrapper.java:229)
    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)

"Netty Builtin Server 2" prio=0 tid=0x0 nid=0x0 runnable
     java.lang.Thread.State: RUNNABLE
 (in native)
    at sun.nio.ch.KQueueArrayWrapper.kevent0(Native Method)
    at sun.nio.ch.KQueueArrayWrapper.poll(KQueueArrayWrapper.java:198)
    at sun.nio.ch.KQueueSelectorImpl.doSelect(KQueueSelectorImpl.java:117)
    at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86)
    at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97)
    at io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:638)
    at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:324)
    at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:742)
    at java.lang.Thread.run(Thread.java:745)

"BaseDataReader: error stream of fsnotifier" prio=0 tid=0x0 nid=0x0 runnable
     java.lang.Thread.State: RUNNABLE
 (in native)
    at java.io.FileInputStream.readBytes(Native Method)
    at java.io.FileInputStream.read(FileInputStream.java:255)
    at java.io.BufferedInputStream.read1(BufferedInputStream.java:284)
    at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
    at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284)
    at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326)
    at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
    at java.io.InputStreamReader.read(InputStreamReader.java:184)
    at java.io.Reader.read(Reader.java:140)
    at com.intellij.util.io.BaseOutputReader.readAvailableBlocking(BaseOutputReader.java:100)
    at com.intellij.util.io.BaseOutputReader.readAvailable(BaseOutputReader.java:152)
    at com.intellij.util.io.BaseDataReader.doRun(BaseDataReader.java:130)
    at com.intellij.util.io.BaseDataReader$1.run(BaseDataReader.java:61)
    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)

"process reaper" prio=0 tid=0x0 nid=0x0 runnable
     java.lang.Thread.State: RUNNABLE
 (in native)
    at java.lang.UNIXProcess.waitForProcessExit(Native Method)
    at java.lang.UNIXProcess.lambda$initStreams$3(UNIXProcess.java:290)
    at java.lang.UNIXProcess$$Lambda$14/1394587590.run(Unknown Source)
    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)

"BaseDataReader: output stream of fsnotifier" prio=0 tid=0x0 nid=0x0 runnable
     java.lang.Thread.State: RUNNABLE
 (in native)
    at java.io.FileInputStream.readBytes(Native Method)
    at java.io.FileInputStream.read(FileInputStream.java:255)
    at java.io.BufferedInputStream.read1(BufferedInputStream.java:284)
    at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
    at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284)
    at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326)
    at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178)
    at java.io.InputStreamReader.read(InputStreamReader.java:184)
    at java.io.Reader.read(Reader.java:140)
    at com.intellij.util.io.BaseOutputReader.readAvailableBlocking(BaseOutputReader.java:100)
    at com.intellij.util.io.BaseOutputReader.readAvailable(BaseOutputReader.java:152)
    at com.intellij.util.io.BaseDataReader.doRun(BaseDataReader.java:130)
    at com.intellij.util.io.BaseDataReader$1.run(BaseDataReader.java:61)
    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)

"Netty Builtin Server 1" prio=0 tid=0x0 nid=0x0 runnable
     java.lang.Thread.State: RUNNABLE
 (in native)
    at sun.nio.ch.KQueueArrayWrapper.kevent0(Native Method)
    at sun.nio.ch.KQueueArrayWrapper.poll(KQueueArrayWrapper.java:198)
    at sun.nio.ch.KQueueSelectorImpl.doSelect(KQueueSelectorImpl.java:117)
    at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86)
    at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97)
    at io.netty.channel.nio.NioEventLoop.select(NioEventLoop.java:638)
    at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:324)
    at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:742)
    at java.lang.Thread.run(Thread.java:745)

"DestroyJavaVM" prio=0 tid=0x0 nid=0x0 runnable
     java.lang.Thread.State: RUNNABLE

"AWT-AppKit" prio=0 tid=0x0 nid=0x0 runnable
     java.lang.Thread.State: RUNNABLE
 (in native)

"Signal Dispatcher" prio=0 tid=0x0 nid=0x0 runnable
     java.lang.Thread.State: RUNNABLE

"ApplicationImpl pooled thread 38" prio=0 tid=0x0 nid=0x0 waiting on condition
     java.lang.Thread.State: TIMED_WAITING
 on java.util.concurrent.SynchronousQueue$TransferStack@17a97d52
    at sun.misc.Unsafe.park(Native Method)
    at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
    at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:460)
    at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:362)
    at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:941)
    at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1066)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

"ApplicationImpl pooled thread 35" prio=0 tid=0x0 nid=0x0 waiting on condition
     java.lang.Thread.State: TIMED_WAITING
 on java.util.concurrent.SynchronousQueue$TransferStack@17a97d52
    at sun.misc.Unsafe.park(Native Method)
    at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
    at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:460)
    at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:362)
    at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:941)
    at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1066)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

"ApplicationImpl pooled thread 31" prio=0 tid=0x0 nid=0x0 waiting on condition
     java.lang.Thread.State: TIMED_WAITING
 on java.util.concurrent.SynchronousQueue$TransferStack@17a97d52
    at sun.misc.Unsafe.park(Native Method)
    at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
    at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:460)
    at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:362)
    at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:941)
    at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1066)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

"ApplicationImpl pooled thread 29" prio=0 tid=0x0 nid=0x0 waiting on condition
     java.lang.Thread.State: WAITING
 on java.util.concurrent.locks.ReentrantReadWriteLock$NonfairSync@877140f
    at sun.misc.Unsafe.park(Native Method)
    at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:836)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireQueued(AbstractQueuedSynchronizer.java:870)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:1199)
    at java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock.lock(ReentrantReadWriteLock.java:943)
    at com.intellij.util.indexing.MapReduceIndex.updateWithMap(MapReduceIndex.java:744)
    at com.intellij.util.indexing.MapReduceIndex$8$1.run(MapReduceIndex.java:531)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:399)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeNonCancelableSection(CoreProgressManager.java:170)
    at com.intellij.util.indexing.MapReduceIndex$8.compute(MapReduceIndex.java:527)
    at com.intellij.util.indexing.MapReduceIndex$8.compute(MapReduceIndex.java:523)
    at com.intellij.util.indexing.FileBasedIndexImpl.updateWithBufferingEnabled(FileBasedIndexImpl.java:1913)
    at com.intellij.util.indexing.FileBasedIndexImpl.a(FileBasedIndexImpl.java:1889)
    at com.intellij.util.indexing.FileBasedIndexImpl.updateSingleIndex(FileBasedIndexImpl.java:1834)
    at com.intellij.util.indexing.FileBasedIndexImpl.a(FileBasedIndexImpl.java:731)
    at com.intellij.util.indexing.FileBasedIndexImpl.access$1600(FileBasedIndexImpl.java:100)
    at com.intellij.util.indexing.FileBasedIndexImpl$11.run(FileBasedIndexImpl.java:721)
    at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:446)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:392)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeNonCancelableSection(CoreProgressManager.java:170)
    at com.intellij.util.indexing.FileBasedIndexImpl.a(FileBasedIndexImpl.java:718)
    at com.intellij.util.indexing.FileBasedIndexImpl.indexFileContent(FileBasedIndexImpl.java:1698)
    at com.intellij.util.indexing.FileBasedIndexImpl.processRefreshedFile(FileBasedIndexImpl.java:1684)
    at com.intellij.util.indexing.FileBasedIndexImpl$VirtualFileUpdateTask.doProcess(FileBasedIndexImpl.java:1848)
    at com.intellij.util.indexing.FileBasedIndexImpl$VirtualFileUpdateTask.doProcess(FileBasedIndexImpl.java:1845)
    at com.intellij.util.indexing.UpdateTask.a(UpdateTask.java:80)
    at com.intellij.util.indexing.UpdateTask.processAll(UpdateTask.java:47)
    at com.intellij.util.indexing.FileBasedIndexImpl.a(FileBasedIndexImpl.java:1867)
    at com.intellij.util.indexing.FileBasedIndexImpl.ensureUpToDate(FileBasedIndexImpl.java:887)
    at com.intellij.util.indexing.FileBasedIndexImpl.ensureUpToDate(FileBasedIndexImpl.java:855)
    at com.intellij.psi.stubs.StubIndexImpl.a(StubIndexImpl.java:243)
    at com.intellij.psi.stubs.StubIndexImpl.processElements(StubIndexImpl.java:224)
    at com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:145)
    at com.intellij.psi.stubs.StubIndex.getElements(StubIndex.java:135)
    at com.intellij.psi.impl.java.stubs.index.JavaFullClassNameIndex.get(JavaFullClassNameIndex.java:48)
    at com.intellij.psi.impl.file.impl.JavaFileManagerImpl.a(JavaFileManagerImpl.java:122)
    at com.intellij.psi.impl.file.impl.JavaFileManagerImpl.findClass(JavaFileManagerImpl.java:115)
    at com.intellij.psi.impl.PsiElementFinderImpl.findClass(PsiElementFinderImpl.java:54)
    at com.intellij.psi.impl.JavaPsiFacadeImpl.a(JavaPsiFacadeImpl.java:124)
    at com.intellij.psi.impl.JavaPsiFacadeImpl.findClass(JavaPsiFacadeImpl.java:101)
    at com.intellij.spring.model.utils.SpringCommonUtils$3.compute(SpringCommonUtils.java:113)
    at com.intellij.psi.impl.PsiCachedValueImpl.doCompute(PsiCachedValueImpl.java:49)
    at com.intellij.util.CachedValueBase.getValueWithLock(CachedValueBase.java:222)
    at com.intellij.psi.impl.PsiCachedValue.getValueWithLock(PsiCachedValue.java:66)
    at com.intellij.psi.impl.PsiCachedValueImpl.getValue(PsiCachedValueImpl.java:38)
    at com.intellij.util.CachedValuesManagerImpl.getCachedValue(CachedValuesManagerImpl.java:84)
    at com.intellij.psi.util.CachedValuesManager.getCachedValue(CachedValuesManager.java:119)
    at com.intellij.spring.model.utils.SpringCommonUtils.hasSpringLibrary(SpringCommonUtils.java:108)
    at com.intellij.spring.facet.SpringConfigurationCheckStartupActivity$1$2.compute(SpringConfigurationCheckStartupActivity.java:83)
    at com.intellij.spring.facet.SpringConfigurationCheckStartupActivity$1$2.compute(SpringConfigurationCheckStartupActivity.java:79)
    at com.intellij.openapi.project.DumbService$1.run(DumbService.java:89)
    at com.intellij.openapi.project.DumbService$2.compute(DumbService.java:125)
    at com.intellij.openapi.project.DumbService$2.compute(DumbService.java:119)
    at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:966)
    at com.intellij.openapi.project.DumbService.runReadActionInSmartMode(DumbService.java:119)
    at com.intellij.openapi.project.DumbService.runReadActionInSmartMode(DumbService.java:86)
    at com.intellij.spring.facet.SpringConfigurationCheckStartupActivity$1.run(SpringConfigurationCheckStartupActivity.java:79)
    at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:369)
    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)

"ApplicationImpl pooled thread 13" prio=0 tid=0x0 nid=0x0 waiting on condition
     java.lang.Thread.State: WAITING
 on java.awt.EventQueue$1AWTInvocationLock@4ab753c7
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:502)
    at java.awt.EventQueue.invokeAndWait(EventQueue.java:1315)
    at java.awt.EventQueue.invokeAndWait(EventQueue.java:1296)
    at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1348)
    at com.intellij.openapi.project.DumbServiceImpl.a(DumbServiceImpl.java:541)
    at com.intellij.openapi.project.DumbServiceImpl.a(DumbServiceImpl.java:506)
    at com.intellij.openapi.project.DumbServiceImpl.access$1500(DumbServiceImpl.java:54)
    at com.intellij.openapi.project.DumbServiceImpl$10.run(DumbServiceImpl.java:443)
    at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:563)
    at com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:142)
    at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:446)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:392)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
    at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:127)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:126)
    at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:369)
    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)

"ApplicationImpl pooled thread 18" prio=0 tid=0x0 nid=0x0 waiting on condition
     java.lang.Thread.State: WAITING
 on java.awt.EventQueue$1AWTInvocationLock@d6ab2ee
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:502)
    at java.awt.EventQueue.invokeAndWait(EventQueue.java:1315)
    at java.awt.EventQueue.invokeAndWait(EventQueue.java:1296)
    at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1348)
    at com.intellij.openapi.project.DumbServiceImpl.a(DumbServiceImpl.java:541)
    at com.intellij.openapi.project.DumbServiceImpl.a(DumbServiceImpl.java:506)
    at com.intellij.openapi.project.DumbServiceImpl.access$1500(DumbServiceImpl.java:54)
    at com.intellij.openapi.project.DumbServiceImpl$10.run(DumbServiceImpl.java:443)
    at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:563)
    at com.intellij.openapi.progress.impl.CoreProgressManager$2.run(CoreProgressManager.java:142)
    at com.intellij.openapi.progress.impl.CoreProgressManager.a(CoreProgressManager.java:446)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:392)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:54)
    at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:127)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl$1.run(ProgressManagerImpl.java:126)
    at com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java:369)
    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)

"ApplicationImpl pooled thread 7" prio=0 tid=0x0 nid=0x0 waiting on condition
     java.lang.Thread.State: TIMED_WAITING
 on java.util.concurrent.SynchronousQueue$TransferStack@17a97d52
    at sun.misc.Unsafe.park(Native Method)
    at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
    at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:460)
    at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:362)
    at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:941)
    at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1066)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

"TimerQueue" prio=0 tid=0x0 nid=0x0 waiting on condition
     java.lang.Thread.State: TIMED_WAITING
 on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@51f50dfc
    at sun.misc.Unsafe.park(Native Method)
    at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
    at java.util.concurrent.DelayQueue.take(DelayQueue.java:223)
    at javax.swing.TimerQueue.run(TimerQueue.java:171)
    at java.lang.Thread.run(Thread.java:745)

"ApplicationImpl pooled thread 4" prio=0 tid=0x0 nid=0x0 waiting on condition
     java.lang.Thread.State: TIMED_WAITING
 on java.util.concurrent.SynchronousQueue$TransferStack@17a97d52
    at sun.misc.Unsafe.park(Native Method)
    at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
    at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:460)
    at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:362)
    at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:941)
    at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1066)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1127)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

"Timer-0" prio=0 tid=0x0 nid=0x0 waiting on condition
     java.lang.Thread.State: WAITING
 on java.util.TaskQueue@6112bca1
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:502)
    at java.util.TimerThread.mainLoop(Timer.java:526)
    at java.util.TimerThread.run(Timer.java:505)

"ProcessWaitFor: fsnotifier" prio=0 tid=0x0 nid=0x0 waiting on condition
     java.lang.Thread.State: WAITING
 on java.lang.UNIXProcess@114bf22f
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:502)
    at java.lang.UNIXProcess.waitFor(UNIXProcess.java:396)
    at com.intellij.execution.process.ProcessWaitFor$1.run(ProcessWaitFor.java:50)
    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)

"Periodic tasks thread" prio=0 tid=0x0 nid=0x0 waiting on condition
     java.lang.Thread.State: TIMED_WAITING
 on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@496ecf2a
    at sun.misc.Unsafe.park(Native Method)
    at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
    at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
    at java.util.concurrent.DelayQueue.take(DelayQueue.java:223)
    at com.intellij.util.concurrency.AppDelayQueue$1.run(AppDelayQueue.java:41)
    at java.lang.Thread.run(Thread.java:745)

"Java2D Disposer" prio=0 tid=0x0 nid=0x0 waiting on condition
     java.lang.Thread.State: WAITING
 on java.lang.ref.ReferenceQueue$Lock@300da116
    at java.lang.Object.wait(Native Method)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164)
    at sun.java2d.Disposer.run(Disposer.java:148)
    at java.lang.Thread.run(Thread.java:745)

"Java2D Queue Flusher" prio=0 tid=0x0 nid=0x0 waiting on condition
     java.lang.Thread.State: TIMED_WAITING
 on sun.java2d.opengl.OGLRenderQueue$QueueFlusher@440ee402
    at java.lang.Object.wait(Native Method)
    at sun.java2d.opengl.OGLRenderQueue$QueueFlusher.run(OGLRenderQueue.java:203)

"AWT-Shutdown" prio=0 tid=0x0 nid=0x0 waiting on condition
     java.lang.Thread.State: WAITING
 on java.lang.Object@a9aac26
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:502)
    at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:295)
    at java.lang.Thread.run(Thread.java:745)

"Finalizer" prio=0 tid=0x0 nid=0x0 waiting on condition
     java.lang.Thread.State: WAITING
 on java.lang.ref.ReferenceQueue$Lock@353235c0
    at java.lang.Object.wait(Native Method)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:143)
    at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:164)
    at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:209)

"Reference Handler" prio=0 tid=0x0 nid=0x0 waiting on condition
     java.lang.Thread.State: WAITING
 on java.lang.ref.Reference$Lock@686a2761
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:502)
    at java.lang.ref.Reference.tryHandlePending(Reference.java:191)
    at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:153)
dlsniper commented 8 years ago

@carbin-gun Hi, you might also want to look here: https://intellij-support.jetbrains.com/hc/en-us/articles/207241235-Reporting-performance-problems ans enable the startup profiling part if this happens everytime you start IntelliJ. You still haven't answered to the above questions, can you please do so? Thank you.

zolotov commented 8 years ago

@carbin-gun single treaddump during the several-minutes process is useless, as well as the part of log file. I'd be appreciate if you attached whole log, several threaddumps and followed @dlsniper advice about startup sampling

carbin-gun commented 8 years ago

@dlsniper sorry for the question not answered . most of the times,when I open a golang project ,the indexing panel will be showing for a long time,but for my java project it will be not. I haven't done anything to invalidate the caches.or update the plugins. So I will do the profiling and post the logs soon.

carbin-gun commented 8 years ago

@dlsniper this is the idea log and thread dump files : file location is here

I have reinstalled the IntelliJ idea IDE ,I found in the log I have done nothing but the memory are just gone and from the thread dump ,all the threads are busy waiting for IO accomplishments.

I just thought about one thing why the indexing cause the whole idea hang up.

Hope to get answers from you,soon.

dlsniper commented 8 years ago

Hi,

I can't help too much with this as I don't have the expertise for it, @zolotov is the right person to look into this.

However, with regards to the symlinks, I don't know how IntelliJ handles them but Go heavily discourages them, please try to remove them from your project(s).

Also, please follow the link I've sent about reporting performance problems with IntelliJ. If you need any help to get this done, I'm on Gitter and hopefully I can help you out.

Thank you.

carbin-gun commented 8 years ago

@dlsniper I'm not using the symbolic files.but some libs imported that will do.for example,the coreos/etcd repo did so, the cmd sub directory use symlinks to point to the outside packages.

dlsniper commented 8 years ago

@carbin-gun :scream: I didn't knew they do that. Anyway, please follow the tutorial I've sent you.

carbin-gun commented 8 years ago

@dlsniper I've created a track issue according to your tutorial post. track issue url

dlsniper commented 8 years ago

@carbin-gun I think we are not agreeing on this one. It's good that you've opened that issue but me and @zolotov were asking for the profiling output for the IDE.

Please follow the instructions I'll post below. If at any point you are not sure what to do, please ping me here or on Gitter.

Locate the .vmoptions file for your product, see the link here: https://intellij-support.jetbrains.com/hc/articles/206544869 (Mac OS users: don't forget to make a copy of the original file to ~/Library/Preferences/<product> and edit this copy instead).

At the end of the .vmoptions file add the following line:
-agentlib:yjpagent=sampling

Windows users running under 64-bit JVM and editing <product>64.vmoptions file should use this line instead:

-agentlib:yjpagent64=sampling

After you've edited your .vmoptions file, please start the IDE and let the indexing process finish as usual.
Then close the IDE and a CPU snapshot file will be saved automatically into your HOME directory with the .snapshot extension.

Locate the `.snapshot` file and upload that.

Can you please share a code sample on which this happens? You seem to say it's related somehow to etcd but I cannot reproduce this on my machine (I'm on Linux however so that might be a difference).

carbin-gun commented 8 years ago

gotcha now .

dlsniper commented 8 years ago

Ok, thank you, if you have any questions or need any help, let ne know either here or on Gitter. Thanks

carbin-gun commented 8 years ago

@dlsniper The indexing is not over for a whole night,so I can not upload the snapshot ,but I found a solution.I removed all the libs in my current GOPATH,I do the go build to compile my golang project,with the report of missing deps,I execute the go get -u -v some-missing-lib-url to reinstall them locally ,the problem was resolved by that finally.

carbin-gun commented 8 years ago

@dlsniper, In the precious step, I removed all the dependencies which contains both golang libs and nodejs modules,but when I do npm install to reinstall the node modules locally,the problem came back. what I know is that the node projects use symlink to do the relations among components.but what is puzzling me is that the problem will not happen in my colleague's computer.

dlsniper commented 8 years ago

Sorry, @zolotov is much better suited to handle this from here on.

zolotov commented 8 years ago

@carbin-gun I don't see anything related to go plugin in logs/threadDumps :(

when I do npm install to reinstall the node modules locally,the problem came back

How can I recreate this? Could you share package.json or something that allows be to get the same environment?

carbin-gun commented 8 years ago

@zolotov ,the package.json contents is as below:

{
  "name": "xxx",
  "version": "1.0.0",
  "description": "xxx",
  "dependencies": {
    "angular": "1.2.28",
    "angular-animate": "1.2.28",
    "angular-qrcode-it": "6.0.4",
    "angular-route": "1.2.28",
    "angular-tooltips": "0.1.21",
    "angular-ui-router": "0.2.15",
    "babel-polyfill": "6.0.16",
    "fastclick": "1.0.6",
    "jquery": "1.11.3",
    "ng-redux": "3.3.3",
    "node-bourbon": "4.2.3",
    "query-string": "4.1.0",
    "raven-js": "1.3.0"
  },
  "devDependencies": {
    "babel-cli": "6.5.1",
    "babel-core": "6.4.0",
    "babel-eslint": "^6.0.0-beta.6",
    "babel-loader": "6.2.1",
    "babel-plugin-transform-es3-member-expression-literals": "6.5.0",
    "babel-plugin-transform-es3-property-literals": "6.5.0",
    "babel-preset-es2015": "6.3.13",
    "babel-preset-stage-0": "6.3.13",
    "chai": "3.5.0",
    "copy-webpack-plugin": "1.1.1",
    "css-loader": "0.23.1",
    "es3ify-loader": "0.1.0",
    "eslint": "2.4.0",
    "eslint-config-airbnb": "6.1.0",
    "eslint-plugin-react": "4.2.3",
    "expose-loader": "0.7.1",
    "extract-text-webpack-plugin": "1.0.1",
    "file-loader": "0.8.5",
    "gulp": "3.9.0",
    "gulp-imagemin": "2.4.0",
    "gulp.spritesmith": "6.0.1",
    "html-loader": "0.4.0",
    "imports-loader": "0.6.5",
    "isparta": "4.0.0",
    "loader-utils": "0.2.12",
    "merge-stream": "1.0.0",
    "mocha": "2.4.5",
    "ng-annotate-loader": "0.1.0",
    "ngtemplate-loader": "1.3.1",
    "node-sass": "3.4.2",
    "pre-commit": "1.1.2",
    "sass-loader": "3.1.2",
    "style-loader": "0.13.0",
    "vinyl-buffer": "1.0.0",
    "webpack": "1.12.11"
  },
  "scripts": {
    "test": "./node_modules/.bin/mocha public/test/**/*.js --compilers js:babel-core/register",
    "coverage": "./node_modules/.bin/babel-node node_modules/isparta/bin/isparta cover --report text --report html node_modules/mocha/bin/_mocha -- --reporter dot public/test ",
    "dev-server": "webpack-dev-server --config webpack-dev-server.config.js --progress --colors --port 2992 --inline",
    "hot-dev-server": "webpack-dev-server --config webpack-hot-dev-server.config.js --hot --progress --colors --port 2992 --inline",
    "build": "./node_modules/.bin/webpack --progress --profile --colors",
    "build:prod": "NODE_ENV=production ./node_modules/.bin/webpack --progress --profile --colors",
    "build:sentry": "NODE_ENV=production DEV_TOOL='source-map' ./node_modules/.bin/webpack --progress --profile --colors",
    "start-dev": "node lib/server-development",
    "start": "node lib/server-production",
    "watch": "./node_modules/.bin/webpack --progress --colors --watch",
    "watch:prod": "NODE_ENV=production ./node_modules/.bin/webpack --progress --colors --watch",
    "clean": "rm -rf public/dist/",
    "sprite": "./node_modules/.bin/gulp sprite",
    "eslint": "./scripts/pre-commit-eslint"
  },
  "pre-commit": {
    "run": "eslint",
    "silent": true
  },
  "repository": {
    "type": "git",
    "url": "git+ssh://xxx"
  }
}
carbin-gun commented 8 years ago

@zolotov I've also created a youtrack issue ,the url is here

zolotov commented 8 years ago

@carbin-gun cannot recreate with the given package.json. Does disabling go plugin help?

carbin-gun commented 8 years ago

disabling the go plugin will not resolve the problem .BUT if I do make the node_modules directory as Mark Directory As Excluded ,the indexing can be done in a quite short period of time.

Mark Directory As Excluded