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.
After selecting Format on an XML document, IDE uses %100 of processor and you cannot use any part of the ide System: Product Version: NetBeans IDE Dev (Build 200808081401) Java: 1.5.0_13; Java HotSpot(TM) Client VM 1.5.0_13-119 System: Mac OS X version 10.5.4 running on i386; MacRoman; en_US (nb) Steps: 1. Open the attached XML document 2. Select Format from the context menu
Created attachment 66920 [details] One thread dump
Created attachment 66921 [details] Another dump
Created attachment 66922 [details] log file
Created attachment 66923 [details] Another log file
Created attachment 66924 [details] XML file to use
partial fix for the issue: changeset 349e7685156b in main details: http://hg.netbeans.org/main?cmd=changeset;node=349e7685156b You should see some improvement in the formatting performance. Working on further improving the performance.
*** This issue has been marked as a duplicate of 143715 ***
I don't think of it as a duplicate of issue 143715. But there is some performance enhancement. Downgrading for now but not closing so we can keep an eye on this performance. Product Version: NetBeans IDE Dev (Build 200810080201) Java: 1.6.0_07; Java HotSpot(TM) 64-Bit Server VM 1.6.0_07-b06-57 System: Mac OS X version 10.5.5 running on x86_64; MacRoman; en_US (nb)
Didn't see any issue in RC2. Please verify.
Still reproducible. Opening 1998ststs.XML and invoking format or adding it to an existing project and opening it then selecting format sends processor to 100% for one of 2 cores. Product Version: NetBeans IDE 6.5 (Build 200811100001) Java: 1.6.0_07; Java HotSpot(TM) 64-Bit Server VM 1.6.0_07-b06-57 System: Mac OS X version 10.5.5 running on x86_64; MacRoman; en_US (nb)
Also With Product Version: NetBeans IDE 6.5 (Build 200811100001) Java: 1.5.0_16; Java HotSpot(TM) Client VM 1.5.0_16-133 System: Mac OS X version 10.5.5 running on i386; MacRoman; en_US (nb)