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.
This bug was originally marked as duplicate of bug 253340, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 8.1 Beta (Build 201508041349) VM: Java HotSpot(TM) 64-Bit Server VM, 25.51-b03, Java(TM) SE Runtime Environment, 1.8.0_51-b16 OS: Windows Server 2008 R2 User Comments: GUEST: it was a background thing scanning projects. I wasn't 'doing' anything. Stacktrace: java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:3181) at java.util.ArrayList.grow(ArrayList.java:261) at java.util.ArrayList.ensureExplicitCapacity(ArrayList.java:235) at java.util.ArrayList.ensureCapacityInternal(ArrayList.java:227) at java.util.ArrayList.add(ArrayList.java:458) at org.netbeans.modules.csl.core.TLIndexerFactory$TLIndexer.getLineStartOffsets(TLIndexerFactory.java:319)
Created attachment 155812 [details] stacktrace
You have 9mb file in your repository with 10 milion empty lines. I would get rid of it. But I made change so Netbeans will ignore such file. http://hg.netbeans.org/web-main/rev/256dac30b2c6
Integrated into 'main-silver', will be available in build *201509040002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/256dac30b2c6 User: Milutin Kristofic <mkristofic@netbeans.org> Log: #254916 - OutOfMemoryError: Java heap space