| Priority |
Critical |
| Type | Bug |
| State | Fixed |
| Assignee | Kirill Kalishev |
| Subsystem | User Interface |
| Affected versions |
No affected versions
|
| Fixed in |
No fix versions
|
| Fixed in build |
Next build |
| Build |
7562
|
| Fixed in build |
8438
|
| Severity |
0
|
IDEA-42133 |
cpu load gets permanently higher after each compile (look-and-feel = mac os) |
|
idea-dump.txt
(17 KB)
7860_peter_06.06.2008_15.24.39.cpu.bz2
(936 KB)
7860_peter_06.06.2008_15.24.00.memory.bz2.gz
(8 MB)
7573_peter_29.11.2007_00.04.29.zip
(1 MB)
|
- I reinstalled a fresh copy of IDEA 7.0.1.app -> no effect
- I removed Library/Preferences/IntelliJIDEA70 -> no effect
- I removed Library/Application Support/IntelliJIDEA70 -> no effect
- I removed Library/Caches/IntelliJIDEA70 -> no effect
- I tried -d32 and -d64 (32bit vs. 64 bit mode) in the vmoptions for java runtime in Info.plist -> no effect
- I tried the -server option in the vmoptions for java runtime in Info.plist -> no effect
- I created a new project being just empty with not even a single java class inside -> no effect, still broken (maybe it's the up-to-date-check that causes this issue ?)
This problems seems to happen whenever the IDE is launching the compiler, or maybe just checking the dependencies -> the number of threads from IDEA's process does not increment, just the load gets higher around 0.5 - 1.0 % percent every time.after 30-60 compiles it's not acceptable to continue work as the base load is around 30-40 % which is just too high!
Once I choose for example Alloy it disappears...
Please take a CPU snapshot. Unfortunately there's no useful information in the process dump.
$ java -version
java version "1.5.0_13"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05-237)
Java HotSpot(TM) Client VM (build 1.5.0_13-119, mixed mode, sharing)
I am a paying customer and it wouldn't be too much to give us feedback on this issue. I understand you have plenty of issues to solve but some feedback would be nice.
Are you able to reproduce the situation? Are you working on it?
Not being able to use Mac OS Look and Feel on a Mac does really suck and we all want to "develop with pleasure" ...
I have uploaded "7718_bas_28.02.2008_16.48.23.zip" to ftp.intellij.net/.uploads. This memory snapshot was taken after closing all projects. It contains 274 JProgressBars and on OS X JProgressBars each take a little cpu because of the animation even if it is not progressing. (it also contains three leaked projects and some other leaks that might be interesting).
Choosing a different look and feel might be a workaround for this problem, but I have not yet tested that.
- Mac OS X
- QuaQua
so like you say it's obviously caused by Apple's look and feel.Currently I work with the 'Bedoin' theme but it's really ugly on OS X :-(
Good to see this issue is gaining some momentum as we apple fanboys get anal quickly when something looks different than our beloved OS X g
If the JProgressBar animation (on Mac OS X LnF) is causing this 'CPU leak', an easy workaround would be to disable the progress bar animation. You can do that by setting the following property :
javax.swing.UIManager.put("ProgressBar.repaintInterval", new Integer(Integer.MAX_VALUE));
I've been using this in muCommander after noticing JProgressBar was a real CPU hog and it works like a charm. It'd be worth trying this given the severity of this issue.
Note that this is the only serious problem I'm having with IntelliJ under OS X, which otherwise is an amazing product that I'm recommending all the time. Thank you guys for the hard work!
I have been a pretty solid supporter of IDEA for a few years but this degree of abandonment of an entire OS user base (over 5 months without so much as a "we expect a fix in releasse ????") is shithouse customer support. I'm finding IDEA a bit of a hard-sell in my office thanks to stuff like this. Really unimpressive guys.
I tried many re-builds (>30) in a row and after all idea consumes around 2-5% of cpu (by activity monitor)
please feedback on this if the problem still exists on your side
I noticed the idle CPU usage increases a lot after I switch projects (File -> Reopen), maybe because a lot of progress bars are displayed while the project is being loaded.
Feel free to let me know if you need any more information from me to reproduce the problem.
java version "1.5.0_13"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05-237)
Java HotSpot(TM) Client VM (build 1.5.0_13-119, mixed mode, sharing)
Additional information:
IntelliJ 7.0.3 (build #7757)
Mac OS X 10.5.2
Macbook Core 2 Duo 2 GHz
FYI, this is what I sent to Apple:
Setting the progress to 100% didn't work for us. After some investigation I found that the progress's UI class (CUIAquaProgressBar) contains a bug that makes IDEA leak CPU time.
CUIAquaProgressBar starts the animation timer on new JProgressPane() but stops it when the progress is taken out of the component tree. More correct behavior would be to make this symmetric: to start the timer when the progress is put to the tree and to stop when it's taken out. This is how we do same things in IDEA and it works fine for years.
What we have now is that if you do new JProgressBar() but don't actually show it on the screen -- the timer doesn't have a chance to be stopped.
A workaround is to explicitly call "progress.getUI().uninstallUI(progress)".
Please forward this to the people who can fix it.
Kirill
You give back hope to all the abandoned and lost people on Mac OS X :-)))
Sorry to say so but the issue is still there in Select #7860 and didn't change at all. CPU load will steadily increase for every compile either under Mac OS X JVM 1.5 or JVM 1.6 (64 bit) on Intel Mac Boo Pro. In current Diana EAP everything seems fine. I would suggest to get this fixed before releasing 7.0.4.
The bad message: After quite a few compiles the idle load is steadily increasing. It's not close as bad as before but still there (Around 10% - 12% after quite a lot of compiles). I will attach a cpi and memory snapshot.
(Mac OS X JVM 1.5, All plugins disabled, Selena #7860)