This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | 100-180% CPU load on multi-CPU system when "idle" | ||
---|---|---|---|
Product: | cnd | Reporter: | eskild <eskild> |
Component: | -- Other -- | Assignee: | Vladimir Voskresensky <vv159170> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | ||
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Thread stack dumps |
Description
eskild
2008-09-02 12:58:04 UTC
Created attachment 68866 [details]
Thread stack dumps
what is NB version? Trunk? No, 6.5beta. I can try it with the trunk as well; I'll let you know. Yes, please, because seems, like duplication of fixed http://www.netbeans.org/issues/show_bug.cgi?id=143281 Just downloaded trunk; looks better. I'll use it for the next day or so and see if the problem manifests itself again. If it doesn't, I'll close the case. thank you! Vladimir. Uh oh... I have a .cc file of around 11,500 lines (auto-generated, hand-modified, sigh), and each time I type a *single character* in the editor, the load spikes up to 100% and stays there for more than 70 seconds (the box has 4 Opteron CPUs). I'm not certain it's the exact same problem that I reported in this IZ, because there it looked like the load was continuously high. But maybe I just didn't wait for a full 70 seconds between keypresses, I'm unfortunately not sure. Turning off code assistance for the file solves the issue. So, perhaps it's "just" poor performance for a large file and not a clear-cut bug. Ok, thanks. Generated files are always problem for IDEs. As workaround I turned OFF expensive (from performance point of view) features for files > 4000 lines. This can be changed by setting flag "cnd.semantic.max.line" values <0 turn OFF limitation, positive values change default 4000 lines limit to new one http://hg.netbeans.org/main?cmd=changeset;node=a5cbcb0669f3 Integrated into 'main-golden', will be available in build *200809050201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/a5cbcb0669f3 User: Vladimir Voskresensky <vv159170@netbeans.org> Log: fixed IZ#145907: 100-180% CPU load on multi-CPU system when 'idle' |