Loading Project - Scanning files hangs

Every once in a while the Loading Project step hangs while processing module '<project name>" content....

I've confirmed access to the drive is fine so I'm not sure what's taking it so long.

Generally, it quickly hits the Loading Project phase, processes modules and brings up the latest code you were working on.

Please assist.

Thanks,

Chris

3 comments
Comment actions Permalink

Hello Chris,

Could you please check if there are any thread dumps in the log directory?

The logs are under ~/Library/Logs/PyCharm10 on MacOS X, under %USERHOME%\.PyCharm10\system\logs

on Windows and under ~/.PyCharm10/system/logs on Linux.

Every once in a while the Loading Project step hangs while processing

module '<project name>" content....

I've confirmed access to the drive is fine so I'm not sure what's

taking it so long.

Generally, it quickly hits the Loading Project phase, processes

modules and brings up the latest code you were working on.

Please assist.

--

Dmitry Jemerov

Development Lead

JetBrains, Inc.

http://www.jetbrains.com/

"Develop with Pleasure!"

0
Comment actions Permalink

Yes, there were thread dumps in that directory.

I had stopped and restarted PyCharm multiple times that day and I see 6 folders in there for that day of which one has 2 text files in it.

Is there something specific I should look for in those text files?

Thanks,

0
Comment actions Permalink

This continues to happen sporadically and I'm not sure why.... 

The idea log is showing this:

2011-02-24 10:24:40,744 [  11484]   INFO - .impl.stores.XmlElementStorage - Document was not loaded for $APP_CONFIG$/jdk.table.xml

2011-02-24 10:24:44,651 [  15391]   INFO - s.impl.stores.FileBasedStorage - Document was not loaded for $APP_CONFIG$/webServers.xml file is null

2011-02-24 10:24:44,651 [  15391]   INFO - .impl.stores.XmlElementStorage - Document was not loaded for $APP_CONFIG$/webServers.xml

The thread dumps that have something in them are showing this towards the end:

java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)

at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)
"SocketListenerThread" Id=23 RUNNABLE (in native)
at java.net.PlainDatagramSocketImpl.receive0(Native Method)
at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:136)
at java.net.DatagramSocket.receive(DatagramSocket.java:725)
at com.intellij.a.e.a.e.a(e.java:65)
at com.intellij.a.e.a.g.run(g.java:25)
"SocketListenerThread" Id=22 RUNNABLE (in native)
at java.net.PlainDatagramSocketImpl.receive0(Native Method)
at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:136)
at java.net.DatagramSocket.receive(DatagramSocket.java:725)
at com.intellij.a.e.a.e.a(e.java:65)
at com.intellij.a.e.a.g.run(g.java:25)
"MessageDeliveryThread" Id=21 WAITING on java.lang.Object@129efd0
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:485)
at com.intellij.a.e.j.run(j.java:26)
"AWT-Windows" Id=18 RUNNABLE (in native)
at sun.awt.windows.WToolkit.eventLoop(Native Method)
at sun.awt.windows.WToolkit.run(WToolkit.java:293)
at java.lang.Thread.run(Thread.java:619)
"AWT-Shutdown" Id=17 WAITING on java.lang.Object@3f6843
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:485)
at sun.awt.AWTAutoShutdown.run(AWTAutoShutdown.java:265)
at java.lang.Thread.run(Thread.java:619)
"Java2D Disposer" Id=16 WAITING on java.lang.ref.ReferenceQueue$Lock@d6466f
at java.lang.Object.wait(Native Method)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134)
at sun.java2d.Disposer.run(Disposer.java:127)
at java.lang.Thread.run(Thread.java:619)
"Lock thread" Id=13 RUNNABLE (in native)
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:390)
at java.net.ServerSocket.implAccept(ServerSocket.java:453)
at java.net.ServerSocket.accept(ServerSocket.java:421)
at com.intellij.idea.SocketLock$MyRunnable.run(SocketLock.java:216)
at java.lang.Thread.run(Thread.java:619)
"timed reference disposer" Id=11 TIMED_WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@1aa3554
at sun.misc.Unsafe.park(Native Method)
at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:198)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2025)
at java.util.concurrent.DelayQueue.take(DelayQueue.java:164)
at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:583)
at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:576)
at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:947)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
"Exe4JStartupThread" Id=9 TIMED_WAITING
at java.lang.Thread.sleep(Native Method)
at com.exe4j.Controller$StartupThread.run(Unknown Source)
"Attach Listener" Id=5 RUNNABLE
"Signal Dispatcher" Id=4 RUNNABLE
"Finalizer" Id=3 WAITING on java.lang.ref.ReferenceQueue$Lock@1933d6c
at java.lang.Object.wait(Native Method)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:118)
at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:134)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)
"Reference Handler" Id=2 WAITING on java.lang.ref.Reference$Lock@1a5b7b4
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:485)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
"main" Id=1 RUNNABLE
0

Please sign in to leave a comment.