IDEA 6.0: "Scanning output directories" for ages

Hi,

I'm currently evaluating IDEA 6.0. I love it already, however, there's a
new problem which wasn't there in 5.1: After compiling the project, it
sais "Scanning output directories ..." -- and stays at that for ages.

It only does this on project the at work, my private/open source
projects don't show this effect. During this time, there's no disk
activity whatsoever. But it is using lots of CPU, so it's not waiting
for the network or something. The GUI does not respond while it's doing
whatever it's doing there. It does not happen, if I compile just one
class. The log doesn't show any information about what's going on
there.

BTW: Of course, I can't be sure there's no I/O going on, I'm working on
Linux and Linux does a lot of disk caching. But it's definitely
taking too long.

Any ideas?

cu & TIA,
Raffi

--
Come to think of it, there are already a million monkeys on a million
typewriters, and Usenet is nothing like Shakespeare!

herzog@raffael.ch · PGP Key 5D1FF5F4 · http://www.raffael.ch/

4 comments

Raffael Herzog schrieb:

I'm currently evaluating IDEA 6.0. I love it already, however, there's
a new problem which wasn't there in 5.1: After compiling the project,
it sais "Scanning output directories ..." -- and stays at that for
ages.

BTW: Of course, I can't be sure there's no I/O going on, I'm working
on Linux and Linux does a lot of disk caching. But it's definitely
taking too long.


I'll have to push this, because I simply can't work like that.

Enabling debug logging showed me, that it actually is scanning files,
and Linux is caching so massively that this can be done without any
disk access. However, it's scanning everything, not just the output
directories. This happens after "Saving caches", when IDEAS 5.1 used to
be finished with the build.

An "empty" build (i.e. everything up-to-date, nothing to do at all)
takes me about 1.5 minutes -- about 10 seconds until "saving caches",
the rest is "Scanning output directories".

cu & TIA,
Raffi

--
Come to think of it, there are already a million monkeys on a million
typewriters, and Usenet is nothing like Shakespeare!

herzog@raffael.ch · PGP Key 5D1FF5F4 · http://www.raffael.ch/

0

Please open the "Changes" toolwindow and check how many files are listed under the Unversioned Files node?

--
Best regards,
Eugene Zhuravlev
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"


0

Eugene Zhuravlev (JetBrains) schrieb:

Please open the "Changes" toolwindow and check how many files are
listed under the Unversioned Files node?


LOTS! Yes, that makes sense, however, working offline doesn't seem to
help. There were 2884 unversioned files (for some reason, the Ant build
builds to a different target directory, so there was tons of useless
garbage), however, reducing them massively doesn't help.

Funny: Every changed file is listed twice. Once where it now is and
once where it used to be before (I tried to move my working directory
to somewhere, where there are not as many unused projects).

I deleted all of them I don't need, so there are 69 left right now. I
could delete most of them, but they'll get back anyway as soon as I
start the application. Using an Ant task it could be possible to move
the working directory out of IDEA, but, as you can see in the bottom
paragraph, I don't think that'll help much.

I reverted all changes I don't need; however, there's no way to get rid
of the entries of the non-existing files, so there are 81
modified/added files there, right now. 5 of them are modified, 25 are
new and the other 51 don't exist.

Pruned directories: 98 -- there's not much I can do about that because
of that crappy CVS. :(

Time needed for an empty build after cutting this down: 1:15 ... in
offline mode. Considering that I got rid of about 2600 changes, it
didn't help much.

cu,
Raffi

--
Come to think of it, there are already a million monkeys on a million
typewriters, and Usenet is nothing like Shakespeare!

herzog@raffael.ch · PGP Key 5D1FF5F4 · http://www.raffael.ch/

0

You can easily reduce the number of unversioned files if you gather all such files under some directory and exclude it from the
project.
As for the "scanning..." problem.
Please take a look at http://www.jetbrains.net/jira/browse/IDEA-9717
Could you please take a CPU snapshot like described in the issue and attach it to the request?

--
Best regards,
Eugene Zhuravlev
Software Developer
JetBrains Inc.
http://www.jetbrains.com
"Develop with pleasure!"


0

Please sign in to leave a comment.