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.
With NetBeans 5.5 Beta 2 (Build 200607190830), I tried to diff 2 files and got an java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOfRange(Arrays.java:2811) at java.lang.String.<init>(String.java:209) at org.netbeans.editor.DocumentContent.getText(DocumentContent.java:152) ... The files were xml, approximately 1750 lines long, and there were a fair number of differences. The diffed window did appear, but when I tried to click on it, the 2nd error occurred and I quit. Brought it back up again and tried the same thing, but it worked. Have tried it several times since then and still can't get it to fail so it's not reproducible, but I'm filing this with the log file just in case it's of interest.
Created attachment 32339 [details] log file
I cannot reproduce OOME diffing two big xml files (4000+ lines long). If you can still reproduce it please describe exact steps how to do it and ideally attach affected files.