-
Notifications
You must be signed in to change notification settings - Fork 304
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Computing directory structure... takes a long time #124
Comments
That's not something we've seen before -- do the .bazelproject Can you attach a jstack showing what CLion is doing? |
Here's a jstack output: 2017-08-20 18:34:24 "Attach Listener" #121 daemon prio=9 os_prio=0 tid=0x00007f83d8001000 nid=0x406 waiting on condition [0x0000000000000000] Locked ownable synchronizers: "FetchExecutor-0" #120 daemon prio=5 os_prio=0 tid=0x00007f8328124800 nid=0x7bbc runnable [0x00007f835a7f0000] Locked ownable synchronizers: "BlazeExecutorImpl-15" #109 daemon prio=5 os_prio=0 tid=0x00007f8328116800 nid=0x2d0a waiting on condition [0x00007f8330f0c000] Locked ownable synchronizers: "BlazeExecutorImpl-14" #108 daemon prio=5 os_prio=0 tid=0x00007f8328115800 nid=0x2d09 waiting on condition [0x00007f8398555000] Locked ownable synchronizers: "BlazeExecutorImpl-13" #107 daemon prio=5 os_prio=0 tid=0x00007f8328114000 nid=0x2d08 waiting on condition [0x00007f8332310000] Locked ownable synchronizers: "BlazeExecutorImpl-12" #106 daemon prio=5 os_prio=0 tid=0x00007f8328113000 nid=0x2d07 waiting on condition [0x00007f8358dee000] Locked ownable synchronizers: "BlazeExecutorImpl-11" #105 daemon prio=5 os_prio=0 tid=0x00007f8328111800 nid=0x2d06 waiting on condition [0x00007f8398354000] Locked ownable synchronizers: "BlazeExecutorImpl-10" #104 daemon prio=5 os_prio=0 tid=0x00007f8328110000 nid=0x2d05 waiting on condition [0x00007f839b1f4000] Locked ownable synchronizers: "BlazeExecutorImpl-9" #103 daemon prio=5 os_prio=0 tid=0x00007f832810f000 nid=0x2d04 waiting on condition [0x00007f8398ba3000] Locked ownable synchronizers: "BlazeExecutorImpl-8" #102 daemon prio=5 os_prio=0 tid=0x00007f832810e000 nid=0x2d03 waiting on condition [0x00007f83587ed000] Locked ownable synchronizers: "BlazeExecutorImpl-7" #101 daemon prio=5 os_prio=0 tid=0x00007f832810d000 nid=0x2d02 waiting on condition [0x00007f8359df0000] Locked ownable synchronizers: "BlazeExecutorImpl-6" #100 daemon prio=5 os_prio=0 tid=0x00007f832810c000 nid=0x2d01 waiting on condition [0x00007f8332511000] Locked ownable synchronizers: "BlazeExecutorImpl-5" #99 daemon prio=5 os_prio=0 tid=0x00007f832810a800 nid=0x2d00 waiting on condition [0x00007f8332712000] Locked ownable synchronizers: "BlazeExecutorImpl-4" #98 daemon prio=5 os_prio=0 tid=0x00007f8328109800 nid=0x2cff waiting on condition [0x00007f8330b0a000] Locked ownable synchronizers: "BlazeExecutorImpl-3" #97 daemon prio=5 os_prio=0 tid=0x00007f8328109000 nid=0x2cfe waiting on condition [0x00007f8330909000] Locked ownable synchronizers: "BlazeExecutorImpl-2" #71 daemon prio=5 os_prio=0 tid=0x00007f8328026800 nid=0x234b waiting on condition [0x00007f833110d000] Locked ownable synchronizers: "BlazeExecutorImpl-1" #70 daemon prio=5 os_prio=0 tid=0x00007f8328025000 nid=0x234a waiting on condition [0x00007f833130e000] Locked ownable synchronizers: "BlazeExecutorImpl-0" #65 daemon prio=5 os_prio=0 tid=0x00007f836c3f9800 nid=0x2345 waiting on condition [0x00007f833170e000] Locked ownable synchronizers: "ApplicationImpl pooled thread 11" #61 daemon prio=4 os_prio=0 tid=0x00007f83440aa000 nid=0x2341 waiting on condition [0x00007f8332913000] Locked ownable synchronizers: "ApplicationImpl pooled thread 5" #51 daemon prio=4 os_prio=0 tid=0x00007f8374001000 nid=0x231b waiting on condition [0x00007f835b1fb000] Locked ownable synchronizers: "MarlinRenderer Disposer" #42 daemon prio=10 os_prio=0 tid=0x00007f836cbe0000 nid=0x21d6 in Object.wait() [0x00007f83597ef000] Locked ownable synchronizers: "TimerQueue" #36 daemon prio=5 os_prio=0 tid=0x00007f834c00e800 nid=0x21c1 runnable [0x00007f835b9fc000] Locked ownable synchronizers: "BaseDataReader: error stream of fsnotifier64" #29 prio=4 os_prio=0 tid=0x00007f836c596800 nid=0x21a4 runnable [0x00007f8399431000] Locked ownable synchronizers: "BaseDataReader: output stream of fsnotifier64" #28 prio=4 os_prio=0 tid=0x00007f836c595000 nid=0x21a3 runnable [0x00007f8399633000] Locked ownable synchronizers: "ProcessWaitFor: fsnotifier64" #27 prio=4 os_prio=0 tid=0x00007f836c594000 nid=0x21a2 in Object.wait() [0x00007f83a86d5000] Locked ownable synchronizers: "AWT-EventQueue-0 2017.2.1#CL-172.3544.40 CLion, eap:false, os:Linux 4.2.0-42-generic, java-version:JetBrains s.r.o 1.8.0_152-release-915-b6" #25 prio=6 os_prio=0 tid=0x00007f839023f800 nid=0x219a waiting on condition [0x00007f839a7f0000] Locked ownable synchronizers: "AWT-Shutdown" #26 prio=5 os_prio=0 tid=0x00007f839023e000 nid=0x2199 in Object.wait() [0x00007f839a9f1000] Locked ownable synchronizers: "Periodic tasks thread" #24 daemon prio=5 os_prio=0 tid=0x00007f8390209000 nid=0x2198 runnable [0x00007f839adf2000] Locked ownable synchronizers: "Timer-0" #22 daemon prio=5 os_prio=0 tid=0x00007f83901e4800 nid=0x2197 in Object.wait() [0x00007f839aff3000] Locked ownable synchronizers: "Netty Builtin Server 1" #17 prio=5 os_prio=0 tid=0x00007f839015f000 nid=0x2195 runnable [0x00007f83a82d4000] Locked ownable synchronizers: "process reaper" #16 daemon prio=10 os_prio=0 tid=0x00007f83900a0800 nid=0x2194 runnable [0x00007f83b8038000] Locked ownable synchronizers: "DestroyJavaVM" #15 prio=5 os_prio=0 tid=0x00007f842c00b800 nid=0x216a waiting on condition [0x0000000000000000] Locked ownable synchronizers: "AWT-XAWT" #13 daemon prio=6 os_prio=0 tid=0x00007f842c93c800 nid=0x218b runnable [0x00007f83bae02000] Locked ownable synchronizers: "Java2D Disposer" #11 daemon prio=10 os_prio=0 tid=0x00007f842c91b800 nid=0x218a in Object.wait() [0x00007f83bb413000] Locked ownable synchronizers: "Service Thread" #10 daemon prio=9 os_prio=0 tid=0x00007f842c1d6000 nid=0x217f runnable [0x0000000000000000] Locked ownable synchronizers: "C1 CompilerThread3" #9 daemon prio=9 os_prio=0 tid=0x00007f842c1c2800 nid=0x217e waiting on condition [0x0000000000000000] Locked ownable synchronizers: "C2 CompilerThread2" #8 daemon prio=9 os_prio=0 tid=0x00007f842c1c0800 nid=0x217d waiting on condition [0x0000000000000000] Locked ownable synchronizers: "C2 CompilerThread1" #7 daemon prio=9 os_prio=0 tid=0x00007f842c1be800 nid=0x217c waiting on condition [0x0000000000000000] Locked ownable synchronizers: "C2 CompilerThread0" #6 daemon prio=9 os_prio=0 tid=0x00007f842c1bc000 nid=0x217b waiting on condition [0x0000000000000000] Locked ownable synchronizers: "Signal Dispatcher" #5 daemon prio=9 os_prio=0 tid=0x00007f842c1ba000 nid=0x217a runnable [0x0000000000000000] Locked ownable synchronizers: "Surrogate Locker Thread (Concurrent GC)" #4 daemon prio=9 os_prio=0 tid=0x00007f842c1b9000 nid=0x2179 waiting on condition [0x0000000000000000] Locked ownable synchronizers: "Finalizer" #3 daemon prio=8 os_prio=0 tid=0x00007f842c185800 nid=0x2178 in Object.wait() [0x00007f83fc2bd000] Locked ownable synchronizers: "Reference Handler" #2 daemon prio=10 os_prio=0 tid=0x00007f842c181000 nid=0x2177 in Object.wait() [0x00007f841c3d6000] Locked ownable synchronizers: "VM Thread" os_prio=0 tid=0x00007f842c179800 nid=0x2176 runnable "Gang worker#0 (Parallel GC Threads)" os_prio=0 tid=0x00007f842c01c800 nid=0x216b runnable "Gang worker#1 (Parallel GC Threads)" os_prio=0 tid=0x00007f842c01e800 nid=0x216c runnable "Gang worker#2 (Parallel GC Threads)" os_prio=0 tid=0x00007f842c020000 nid=0x216d runnable "Gang worker#3 (Parallel GC Threads)" os_prio=0 tid=0x00007f842c022000 nid=0x216e runnable "Gang worker#4 (Parallel GC Threads)" os_prio=0 tid=0x00007f842c023800 nid=0x216f runnable "Gang worker#5 (Parallel GC Threads)" os_prio=0 tid=0x00007f842c025000 nid=0x2170 runnable "Gang worker#6 (Parallel GC Threads)" os_prio=0 tid=0x00007f842c027000 nid=0x2171 runnable "Gang worker#7 (Parallel GC Threads)" os_prio=0 tid=0x00007f842c028800 nid=0x2172 runnable "Concurrent Mark-Sweep GC Thread" os_prio=0 tid=0x00007f842c099800 nid=0x2175 runnable "Gang worker#0 (Parallel CMS Threads)" os_prio=0 tid=0x00007f842c096000 nid=0x2173 runnable "Gang worker#1 (Parallel CMS Threads)" os_prio=0 tid=0x00007f842c097800 nid=0x2174 runnable "VM Periodic Task Thread" os_prio=0 tid=0x00007f842c1d8800 nid=0x2180 waiting on condition JNI global references: 3763 |
Here's the .bazelproject:
It's possible there are lots of files underneath, e.g. bazel- directories. Does the plugin know to ignore them? |
I addressed this by trimming some directories - will mark as closed for now. |
Add an Action that modifies the local project view to ignore the CMake cache directories. Can be triggered manually, and it will trigger automatically on every sync.
Add an Action that modifies the local project view to ignore the CMake cache directories. Can be triggered manually, and it will trigger automatically on every sync.
Add an Action that modifies the local project view to ignore the CMake cache directories. Can be triggered manually, and it will trigger automatically on every sync.
Add an Action that modifies the local project view to ignore the CMake cache directories. Can be triggered manually, and it will trigger automatically on every sync. fix(compat): Make the apple plugin compatible with v241
Add an Action that modifies the local project view to ignore the CMake cache directories. Can be triggered manually, and it will trigger automatically on every sync. fix(compat): Make the apple plugin compatible with v241
Hi,
I'm trying to import a large bazel project and CLion says it is "Computing directory structure..." for a long time (it hasn't finished yet). Is there something I can do to speed that up?
The text was updated successfully, but these errors were encountered: