Perforce tasks at startup never finish - anyone else seeing this?

When I start IDEA, It starts a couple of background Perforce tasks, presumably to sync up for the Version Control window.  One of them never comes back, even though all p4 processes have finished running.  If I try to stop the task from within IDEA, it still never goes away - it keeps spinning in the bottom bar (or, if I click there, it pops up with no Stop button).

I've attached a screenshot showing the tasks popup along with Process Explorer's view of the idea64.exe process tree, showing that there are, in fact, no p4 processes still around.

Is there anything I can do to simply not have p4 run at startup?

Here's my build info from IDEA:

IntelliJ IDEA 14.1.5

Build #IU-141.2735, built on September 22, 2015

JRE: 1.7.0-b147 amd64

JVM: Java HotSpot(TM) 64-Bit Server VM by Oracle Corporation

Thanks!
Rob



Attachment(s):
IntelliJPerforce.png
0
7 comments

This task is from refreshing Repository or Incoming change views. To remove that, you can try to uncheck all the related checkboxes in Settings | Version Control | Background and restart. But before that, could you please take a jstack thread dump (https://intellij-support.jetbrains.com/hc/en-us/articles/206827507-Getting-a-thread-dump-when-IDE-hangs-and-doesn-t-respond) of the IDE when you see this task and attach it here?

0

Hi, Peter,

Here's a stack dump.

In the meantime, unchecking all of those boxes and restarting does not seem to have solved the problem.  However, if I stop the remaining process, show the process progress view (as in the screenshot from above), and then run VCS -> Update Project and hit Cancel, the view goes away.  So that gets me out of my immediate situation where I can't work because there's a spinner at the bottom of my screen distracting me.

Thanks!
Rob



Attachment(s):
dump.txt.zip
0

Thanks for the dump. It looks like Perforce has a very large changelist in the recent history, and IDEA tries to find all files affected by it in the file system, and this takes a lot of time for some reason. Could you please enable "Dump Perforce commands to file" in Settings | Version Control | Perforce, then reopen the project, wait until this situation appears again and attach the resulting p4.output file?

0

Sure thing.  Here 'tis.

Rob



Attachment(s):
p4.output.zip
0

Thanks. Could you please try to backup and delete system/vcsCache (see https://devnet.jetbrains.com/docs/DOC-181 for what 'system' is) and restart? If this helps, it'd be great if you could provide the contents of this directory zipped.

0

That solved the problem.   I've attached the zipfile.

Rob



Attachment(s):
vcsCache.zip
0

Thanks! The next IDEA 15 EAP (likely on Wednesday, https://confluence.jetbrains.com/display/IDEADEV/IDEA+15+EAP) should make things faster, and you can restore vcsCache (with the attached content) then.

0

Please sign in to leave a comment.