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 7.4 (Build 201310111528) VM: Java HotSpot(TM) 64-Bit Server VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18 OS: Windows 7 User Comments: diamine75: didnt recognized Stacktrace: java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOfRange(Arrays.java:2694) at java.lang.String.<init>(String.java:203) at java.lang.String.substring(String.java:1877) at org.netbeans.Stamps.testWritePath(Stamps.java:987) at org.netbeans.Stamps.produceRelativePath(Stamps.java:975) at org.netbeans.Stamps.findRelativePath(Stamps.java:1008)
Created attachment 147876 [details] stacktrace
50m in lucene ScoreDoc probably held because of some Maven (a lot of sonatype instances) computation.
Probably in org.netbeans.modules.maven.indexer.ClassDependencyIndexCreator.search() method in module maven.indexer. Should be there some lazy fetch or whatever on collector.topDocs().scoreDocs.
TopDocs is already lazy. It does not load documents. It also load just at most given number of ScoreDocs{int,float,int}.
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss