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.
CloneableEditorSupport.openDocument is requested from 8 threads at once during initial parse project (4 parser threads)
Created attachment 156054 [details] look for CloneableEditorSupport.openDocument
Btw, this is displayed in console during parse org.openide.text.DataEditorSupport$Env$ME: The file sqlite3.c seems to be too large (4 Mb) to safely open. Opening the file could cause OutOfMemoryError, which would make the IDE unusable. Do you really want to open it? at org.openide.text.DataEditorSupport$Env.inputStream(DataEditorSupport.java:887) at org.openide.text.DocumentOpenClose$DocumentLoad.atomicLockedRun(DocumentOpenClose.java:759) at org.openide.text.DocumentOpenClose$DocumentLoad.run(DocumentOpenClose.java:613) at org.netbeans.editor.GuardedDocument.runAtomic(GuardedDocument.java:323) at org.openide.text.NbDocument.runAtomic(NbDocument.java:436) at org.openide.text.DocumentOpenClose$DocumentLoad.run(DocumentOpenClose.java:653) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058) org.openide.text.DataEditorSupport$Env$ME: The file sqlite3.c seems to be too large (4 Mb) to safely open. Opening the file could cause OutOfMemoryError, which would make the IDE unusable. Do you really want to open it? at org.openide.text.DataEditorSupport$Env.inputStream(DataEditorSupport.java:887) at org.openide.text.DocumentOpenClose$DocumentLoad.atomicLockedRun(DocumentOpenClose.java:759) at org.openide.text.DocumentOpenClose$DocumentLoad.run(DocumentOpenClose.java:613) at org.netbeans.editor.GuardedDocument.runAtomic(GuardedDocument.java:323) at org.openide.text.NbDocument.runAtomic(NbDocument.java:436) at org.openide.text.DocumentOpenClose$DocumentLoad.run(DocumentOpenClose.java:653) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058) org.openide.text.DataEditorSupport$Env$ME: The file sqlite3.c seems to be too large (4 Mb) to safely open. Opening the file could cause OutOfMemoryError, which would make the IDE unusable. Do you really want to open it? at org.openide.text.DataEditorSupport$Env.inputStream(DataEditorSupport.java:887) at org.openide.text.DocumentOpenClose$DocumentLoad.atomicLockedRun(DocumentOpenClose.java:759) at org.openide.text.DocumentOpenClose$DocumentLoad.run(DocumentOpenClose.java:613) at org.netbeans.editor.GuardedDocument.runAtomic(GuardedDocument.java:323) at org.openide.text.NbDocument.runAtomic(NbDocument.java:436) at org.openide.text.DocumentOpenClose$DocumentLoad.run(DocumentOpenClose.java:653) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2058)
Created attachment 156217 [details] Draft version of patch
Created attachment 156219 [details] Improvement of processTokensInExpression method