File Activity on Update Project

Update Project takes a very long time for me. We have a large project of Java and web files, and when I Update Project with an incoming changeset containing one file, IDEA seems to want to scan the entire project for updates.

I can see it now in Process Monitor, trawling through every single file in the project, and it has been for some time.

This seems excessive, since I just want it to apply that incoming change and not scan. Is there any way I can disable this behaviour for large projects and only manually synchronise on the rare occasion that a change is made externally? I find these pauses to be a great hinderance to my productivity.

I have switched off 'Synchronise on Frame Activation'. Any other suggestions?

4 comments
Comment actions Permalink

Hello Ben,

Which VCS are you using?

Update Project takes a very long time for me. We have a large project
of Java and web files, and when I Update Project with an incoming
changeset containing one file, IDEA seems to want to scan the entire
project for updates.

I can see it now in Process Monitor, trawling through every single
file in the project, and it has been for some time.

This seems excessive, since I just want it to apply that incoming
change and not scan. Is there any way I can disable this behaviour
for large projects and only manually synchronise on the rare occasion
that a change is made externally? I find these pauses to be a great
hinderance to my productivity.

I have switched off 'Synchronise on Frame Activation'. Any other
suggestions?

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

It's svn.

I've been following Process Explorer output this morning and IDEA really does hit a lot of files, both items under .svn directories and actual files, even when I'm not doing anything (although the Changes view does say 'Updating...'). IDEA and Windows in general is pretty unresponsive during this time.

I'm coming to suspect that the problem is just the size of our project. Here are some file counts by type:

.jsp 446
.html 2268
.java 5327
.js 606
.xml 708

.svn directories 2150

Any thoughts on speeding this up? Other than getting an SSD disk drive, of course! ;)

0
Comment actions Permalink

Any word on this?

I notice that when editing, I sometimes get brief (but annoying pauses) during typing. The cursor stops flashing and no keypresses are registered for a period of about a second. When I alt+tab to Process Monitor at this point I see idea.exe doing reads from .jar files, libraries in my project. Presumably this activity is why my editing is being stalled.

Is it really necessary for IDEA to scan these files while I'm in the middle of typing?

0
Comment actions Permalink

Hello Ben,

An Update Project operation in Subversion, by design, touches every .svn
directory in your project in order to update the revision number, even if
the update brings you one changeset with a single file.

To get more information about why other cases of file scanning occur, you
can take thread dumps or CPU snapshots:
http://support.jetbrains.com/kb/entry.jspa?categoryID=4&externalID=260
http://support.jetbrains.com/kb/entry!default.jspa?categoryID=5&externalID=192&fromSearchPage=true

It's svn.

I've been following Process Explorer output this morning and IDEA
really does hit a lot of files, both items under .svn directories and
actual files, even when I'm not doing anything (although the Changes
view does say 'Updating...'). IDEA and Windows in general is pretty
unresponsive during this time.

I'm coming to suspect that the problem is just the size of our
project. Here are some file counts by type:

jsp 446
html 2268
java 5327
js 606
xml 708
svn directories 2150

Any thoughts on speeding this up? Other than getting an SSD disk
drive, of course! ;)

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Please sign in to leave a comment.