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: Linux User Comments: olehoppe: Everything worked fine, just bit slow executing query against SQL database. Reported low memory condition, so restarted. No loss or further error messages. 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.StringBuffer.toString(StringBuffer.java:561) at java.io.BufferedReader.readLine(BufferedReader.java:352) at java.io.BufferedReader.readLine(BufferedReader.java:382) at org.netbeans.modules.diff.builtin.provider.BuiltInDiffProvider.getLines(BuiltInDiffProvider.java:106)
Created attachment 144273 [details] stacktrace
Seems you tried diffing two large files (about 40MB each), they appear to be SQL dumps. Although i think it does not make sense to diff such large files i still made some improvements partially in bug #240168 and with the following fix... fix: http://hg.netbeans.org/core-main/rev/de841cd10942
Integrated into 'main-silver', will be available in build *201401240001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/de841cd10942 User: Ondrej Vrabec <ovrabec@netbeans.org> Log: #240850 - OutOfMemoryError: Java heap space do not run diff computation twice at the same moment.