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 214940, 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.0.2 (Build 201411181905) VM: Java HotSpot(TM) 64-Bit Server VM, 25.25-b02, Java(TM) SE Runtime Environment, 1.8.0_25-b17 OS: Mac OS X User Comments: GUEST: I was trying to edit a watch expression on ruby and experiencing very high cpu usage, blocking all the UI Stacktrace: java.lang.OutOfMemoryError: Java heap space at org.netbeans.lib.editor.util.GapList.allocateElementsArray(GapList.java:864) at org.netbeans.lib.editor.util.GapList.ensureCapacity(GapList.java:160) at org.netbeans.lib.editor.util.GapList.addArray(GapList.java:605) at org.netbeans.lib.editor.util.GapList.addArray(GapList.java:586) at org.netbeans.lib.editor.util.GapList.addAll(GapList.java:575) at org.netbeans.lib.lexer.inc.IncTokenList.replaceTokens(IncTokenList.java:361)
Created attachment 162035 [details] stacktrace
This was already fixed in NB 8.1