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 256935 - Background Scanning takes obscenely long
Summary: Background Scanning takes obscenely long
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Parsing & Indexing (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-02 19:14 UTC by pborregg
Modified: 2018-03-13 08:02 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 207758


Attachments
stacktrace (2.43 KB, text/plain)
2015-12-02 19:14 UTC, pborregg
Details
stacktrace (2.24 KB, text/plain)
2018-03-13 08:02 UTC, williambacchi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pborregg 2015-12-02 19:14:56 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.5-b02, Java(TM) SE Runtime Environment, 1.8.0_05-b13
OS: Windows 7

User Comments:
GUEST: same

GUEST: unable to cancel background scanning of a large project

GUEST: Create new PHP project from existing sources (couple of short files)

GUEST: Didn't notice exactly when it began, I had switched Project Groups and was alerted to resolve a problem with unfound path in a project

GUEST: Demoram anossss para abrir um projeto

GUEST: Background project scanning stalled and not stoppable

GUEST: Just deleted an existing project and recreated it.

GUEST: nothing specific.. The background scanning s and autosuggest doesnt work

GUEST: slowing my pc

GUEST: open maven project

pborregg: Stopped Background scanning of projects

GUEST: Continuously does background scannning of projects

GUEST: compilando projetos

GUEST: Background scanning of the project never ends and IDE is geting very slow.

GUEST: damn slow

GUEST: slowing my computer

GUEST: Start IDE, IDE scan PHP project infinite, quit IDE - java process has not finished

GUEST: jjjj
j
j
j
j




Stacktrace: 
org.netbeans.modules.parsing.impl.indexing.ScanCancelledException: Slow scanning in jsfCustomIndexer
   at java.lang.Thread.getStackTrace(Thread.java:1552)
   at org.netbeans.modules.parsing.impl.indexing.LogContext.create(LogContext.java:131)
   at org.netbeans.modules.parsing.impl.indexing.LogContext.create(LogContext.java:124)
   at org.netbeans.modules.parsing.impl.indexing.PathRegistry.scheduleFirer(PathRegistry.java:906)
   at org.netbeans.modules.parsing.impl.indexing.PathRegistry.resetCacheAndFire(PathRegistry.java:899)
   at org.netbeans.modules.parsing.impl.indexing.PathRegistry.access$500(PathRegistry.java:90)
Comment 1 pborregg 2015-12-02 19:14:59 UTC
Created attachment 157623 [details]
stacktrace
Comment 2 mzav 2016-12-26 09:45:57 UTC
Note sure it is proper Bug for my comment. There are multiple bugs registered for performance problems with background scannig - this bug looks the last one.
I have a very big project and have this problem on regular basis. I believe it is related with heap memory size available for Net Beans - fortunately, one time I've catched report about OutOfMemory.
After increasing it NetBeans looks much more stable. Default value on my host was 1G. I've increased it to 4G.
Comment 3 williambacchi 2018-03-13 08:02:28 UTC
Created attachment 165670 [details]
stacktrace

Compiling