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.
Build: NetBeans IDE 8.0.2 (Build 201411181905) VM: OpenJDK 64-Bit Server VM, 25.40-b14, OpenJDK Runtime Environment, 1.8.0_40-b10 OS: Linux User Comments: GUEST: Error of memory. GUEST: blah bertl: at startup GUEST: Code complete. Stacktrace: java.lang.OutOfMemoryError: Java heap space at java.util.ArrayDeque.doubleCapacity(ArrayDeque.java:157) at java.util.ArrayDeque.addLast(ArrayDeque.java:247) at java.util.ArrayDeque.add(ArrayDeque.java:418) at org.netbeans.modules.parsing.lucene.LuceneIndex.query(LuceneIndex.java:192) at org.netbeans.modules.parsing.lucene.DocumentIndexImpl.query(DocumentIndexImpl.java:284) at org.netbeans.modules.parsing.impl.indexing.lucene.LayeredDocumentIndex.query(LayeredDocumentIndex.java:205)
Created attachment 151670 [details] stacktrace
Java Script indexer loads all these documents: at org.netbeans.modules.parsing.spi.indexing.support.QuerySupport$Query.execute(QuerySupport.java:569) at org.netbeans.modules.parsing.spi.indexing.support.QuerySupport.query(QuerySupport.java:368) at org.netbeans.modules.javascript2.editor.index.JsIndex.query(JsIndex.java:204)
*** Bug 249983 has been marked as a duplicate of this bug. ***
*** Bug 249980 has been marked as a duplicate of this bug. ***
*** Bug 250497 has been marked as a duplicate of this bug. ***
*** Bug 250652 has been marked as a duplicate of this bug. ***
A lot of duplicates -> P2.
*** Bug 250704 has been marked as a duplicate of this bug. ***
*** Bug 250705 has been marked as a duplicate of this bug. ***
*** Bug 250728 has been marked as a duplicate of this bug. ***
All the reports contains many lucine documents. It seems that many items are obtained from the index. This should be already fixed in dev build, but there is still one case when it can happen. When the user press CTRL+SPACE twice.
Should be fixed now. The algorithm for obtaining many code completion items from index was changed.