Build 1179 slow compile

Hello

I've upgraded from 3.0.5 to 4.0.2 and i've noticed a significant performance difference when compiling a single file.

In particular it 'hangs' for ages on "Parsing myfile.java"

Here is the scenario.
-open project
-add a space to one java src file
-save
-CTRL+SHIFT_F9

I increased logging and included the log file below.
Any ideas, experiences on this.
Compiling has never been this slow.

Another note, when it is hanging, i look in the task manager and find that the only process that is really busy is "System". Does that mean this has something to do with the native file scanning?

cheers
oliver

Idea log file



Extra Details
Windows 2000 SP4
Pentium 2.6Mhz, 512 MB
IntelliJ Build 1179
IntelliJ lax -Xms84m -Xmx256m
Total files in project:
- including everything (CVS etc): 2500
- java src: 332

0
2 comments

Had the project been compiled before with 4.0.2 and you just invoked crtl-shift-F9 to recompile the new sources or it started
compiling a lot of files?
Please enable compiler logging by adding to the bin/log.xml the foillowing lines:

try to compile and send the log directly to me. -- Best regards, Eugene Zhuravlev Software Developer JetBrains Inc. http://www.jetbrains.com "Develop with pleasure!" "Oliver Henlich" ]]> wrote in message news:2235509.1080143754974.JavaMail.itn@is.intellij.net...

Hello

>

I've upgraded from 3.0.5 to 4.0.2 and i've noticed a significant performance difference when compiling a single file.

>

In particular it 'hangs' for ages on "Parsing myfile.java"

>

Here is the scenario.
-open project
-add a space to one java src file
-save
-CTRL+SHIFT_F9

>

I increased logging and included the log file below.
Any ideas, experiences on this.
Compiling has never been this slow.

>

Another note, when it is hanging, i look in the task manager and find that the only process that is really busy is "System". Does

that mean this has something to do with the native file scanning?
>

cheers
oliver

>

Idea log file
2004-03-24 16:11:44,171 [ 374218] DEBUG - ntellij.ide.SaveAndSyncHandler - exit: save() > 2004-03-24 16:11:44,906 [ 374953] DEBUG - on.impl.DaemonCodeAnalyzerImpl - update runnable (myUpdateByTimerEnabled = true) > *2004-03-24 16:11:44,906* [ 374953] DEBUG - on.impl.DaemonCodeAnalyzerImpl - no active editors > *2004-03-24 16:12:01,406* [ 391453] DEBUG - ij.vfs.local.win32.FileWatcher - i=0 type=1 file=D:/Projects/si_webconf/webapp/WEB-INF/classes/siemens/webconf/util/LoginStatistics.class > 2004-03-24 16:12:01,406 [ 391453] DEBUG - ij.vfs.local.win32.FileWatcher - i=0 type=3 file=D:/Projects/si_webconf/webapp/WEB-INF/classes/siemens/webconf/util/LoginStatistics.class > > ]]>

>
>

Extra Details
Windows 2000 SP4
Pentium 2.6Mhz, 512 MB
IntelliJ Build 1179
IntelliJ lax -Xms84m -Xmx256m
Total files in project:
- including everything (CVS etc): 2500
- java src: 332

>


0

Hello.

Having done some more investigation i believe the culprit is some funky background/'intelligent'/virus/scanning/trashing software (Trend Micro OfficeScan).

I finally managed to coax it into ignoring .CLASS files and most of the hanging was gone! But it is still spending most of its time scanning .JAR files which i can't pursuade it not to...

To answer your question...it is not when i first compile. In my test i did a rebuild project first then touch a single file and ctrlshiftf9.

Cheers
oliver

0

Please sign in to leave a comment.