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: OpenJDK 64-Bit Server VM, 23.7-b01, OpenJDK Runtime Environment, 1.7.0_25-b30 OS: Linux User Comments: deff: Just sending to you Stacktrace: java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:2367) at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:130) at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:114) at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:535) at java.lang.StringBuilder.append(StringBuilder.java:204) at org.netbeans.modules.search.MatchingObject.text(MatchingObject.java:586)
Created attachment 142706 [details] stacktrace
Replacing in a very big file. Increasing heap size (-Xmx6g java parameter) could help. Replacing of single-line patterns may be performed line-by-line, so tho whole file doesn't need to be loaded into memory. Further evaluation needed.
*** Bug 242330 has been marked as a duplicate of this bug. ***