fixed: IDEA slow/hangs

In case someone else observes similar problems:

IntelliJEDA 9.0 seems to provide a mechanism to monitor if the system hangs and it generates a ThreadDump to analyze the reason.
In principle this seems a good idea, unfortunately it turns out, that this causes just the opposite effect for me.
The problem is, that my virus scanner takes some time to analyze the generated thread dump and stops my IDEA meanwhile.
This causes IntelliJEDA to trigger an other thread dump. If I have a look into my system/log I find several thousands of thread dumps saved.

From the thread dump I identified com.intellij.diagnostic.PerformanceWatcher which seems to have a default threshold of 5 seconds.
I further found this can be set using a system property "performance.watcher.threshold".
If I increase the threshold or even set it to "0" my IntelliJEDA runs MUCH smarter.

Is this documented somewhere?

I added this to my idea.properies:

#-----------------------------------------------------------------------
# Threshold (seconds) to trigger a thread dump if IDEA hangs.
# Set to 0 to disable the PerformanceWatcher monitor.
#-----------------------------------------------------------------------
performance.watcher.threshold=0

Dieter.

2 comments

Hello Dieter,

You're fixing the problem from the wrong end. The correct solution is to
completely exclude IDEA system and config directories from scanning by your
virus checker.

In case someone else observes similar problems:

IntelliJEDA 9.0 seems to provide a mechanism to monitor if the system
hangs and it generates a ThreadDump to analyze the reason.

In principle this seems a good idea, unfortunately it turns out, that
this causes just the opposite effect for me.

The problem is, that my virus scanner takes some time to analyze the
generated thread dump and stops my IDEA meanwhile.

This causes IntelliJEDA to trigger an other thread dump. If I have a
look into my system/log I find several thousands of thread dumps
saved.

From the thread dump I identified
com.intellij.diagnostic.PerformanceWatcher which seems to have a
default threshold of 5 seconds.

I further found this can be set using a system property
"performance.watcher.threshold".

If I increase the threshold or even set it to "0" my IntelliJEDA runs
MUCH smarter.

Is this documented somewhere?

I added this to my idea.properies:

#---------------------------------------------------------------------
--

  1. Threshold (seconds) to trigger a thread dump if IDEA hangs.

  2. Set to 0 to disable the PerformanceWatcher monitor.

#---------------------------------------------------------------------
--
performance.watcher.threshold=0
Dieter.

---
Original message URL:
http://www.jetbrains.net/devnet/message/5260622#5260622

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


0

Hi Dmitr,

you are right, unfortunately I currently don't have any permission to do so, after they forced me to turn from Linux to Windows :-((

I did not state it a bug of IntelliJ; its just the victim of our stupid virus scanner.

Nevertheless it would be nice to see some documentation about that feature, to understand what's going on.

Regards Dieter.

0

Please sign in to leave a comment.