after turning to an other system/hardware, I observe intellij
periodically freezes for about 30 second. As this happened with
my old 4.5.4, I turned over to 5.1.1 today, but the freezes still
happens. I browsed the forum about this problem and found some hints
about possible excessive garbage collection issues or slow file IO
when browsing the project or the system cache. But I think none of
these explanations hold.
Instead I guess some multi threading problems. Long story:
I am running under Linux (2.6.13) on a AMD64 system. The problem became
worse after an upgrade to a 2 processor machine. Intellij frequently
freezes for 30 seconds during updates of any part of its display.
(I have to note: I use an remote X-Term, but this did not cause any
problems for years now). In order to narrow the problem I used
"strace" to monitor the system activity of the JVM running intellij.
I found 8 threads running, with 3 of them executing abut 70000 futex()
related system calls. Seems they are fighting each other about some
synchronization issue. I also monitored the idea.log and found a
similar message with 4.5.4 as with 5.1.1 each time the system freezes.
Here a snipped from my 5.1.1 intellij.log; please note the timestamps!
2006-05-15 12:44:41,500 INFO - impl.local.LocalFileSystemImpl - adding request to synchronize queue:com.intellij.openapi.vfs.impl.local.LocalFileSystemImpl$5@444fe62
2006-05-15 12:44:41,501 INFO - impl.local.LocalFileSystemImpl - Executing request:com.intellij.openapi.vfs.impl.local.LocalFileSystemImpl$5@444fe62
2006-05-15 12:45:15,259 INFO - lij.localVcs.impl.LocalVcsImpl - purged 0 items