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: Windows 7 User Comments: nicolas.tappret: i have a big log file out of java processe. In System.out or System.err Stacktrace: java.lang.OutOfMemoryError: Java heap space at java.nio.DirectCharBufferRS.toString(DirectCharBufferRS.java:410) at java.nio.CharBuffer.toString(CharBuffer.java:1201) at org.netbeans.core.output2.AbstractLines.getText(AbstractLines.java:202) at org.netbeans.core.output2.OutputDocument.getText(OutputDocument.java:173) at javax.swing.text.JTextComponent.getSelectedText(JTextComponent.java:1770) at javax.swing.plaf.basic.BasicTextUI$TextTransferHandler$TextTransferable.<init>(BasicTextUI.java:2559)
Created attachment 143128 [details] stacktrace
There's a lot of LineInfo objects, probably most of the output came from STDERR, so each line needed a LineInfo (color, possibly a link). We could impose a limit on number of LineInfo objects in AbstractLines#checkLimits. Thank you for reporting.
http://hg.netbeans.org/core-main/rev/0b4f06c49d7b Fixed. Thank you for reporting.
*** Bug 243189 has been marked as a duplicate of this bug. ***