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.

Bug 221936 - Slow CSS diagnostics
Summary: Slow CSS diagnostics
Status: RESOLVED DUPLICATE of bug 221331
Alias: None
Product: web
Classification: Unclassified
Component: CSS Editor (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-12 09:56 UTC by Petah
Modified: 2012-11-12 10:39 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 194970


Attachments
stacktrace (1.36 KB, text/plain)
2012-11-12 09:56 UTC, Petah
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petah 2012-11-12 09:56:17 UTC
This issue was reported manually by sdedic.
It already has 1 duplicates 


Build: NetBeans IDE 7.3 Beta 2 (Build 201211062253)
VM: Java HotSpot(TM) Client VM, 20.0-b11, Java(TM) SE Runtime Environment, 1.6.0_25-b06
OS: Windows 7

User Comments:
petah: Scanning makes NB unusable. It eats all the memory then thrashes the GC.




Stacktrace: 
java.lang.Exception: Scan canceled.
   at java.lang.Thread.getStackTrace(Thread.java:1479)
   at org.netbeans.modules.parsing.impl.indexing.LogContext.create(LogContext.java:115)
   at org.netbeans.modules.parsing.impl.indexing.LogContext.create(LogContext.java:108)
   at org.netbeans.modules.parsing.impl.indexing.PathRegistry.scheduleFirer(PathRegistry.java:821)
   at org.netbeans.modules.parsing.impl.indexing.PathRegistry.resetCacheAndFire(PathRegistry.java:814)
   at org.netbeans.modules.parsing.impl.indexing.PathRegistry.access$500(PathRegistry.java:85)
Comment 1 Petah 2012-11-12 09:56:18 UTC
Created attachment 127595 [details]
stacktrace
Comment 2 Petah 2012-11-12 09:58:37 UTC
If this is CSS related, can I disable the CSS plugin, with out disabling every other web (PHP, HTML, etc) plugin?
Comment 3 Svata Dedic 2012-11-12 10:00:30 UTC
Originally reported as scan cancel issue.

Lot of time is spent in CSS processing as part of TLIndexer; see the statistics above threaddumps.
Comment 4 Marek Fukala 2012-11-12 10:39:12 UTC
Already fixed. Please use latest dev build.

*** This bug has been marked as a duplicate of bug 221331 ***