java.lang.OutOfMemoryError at sun.misc.Unsafe.allocateMemory(Unsafe.java:0) at java.nio.DirectByteBuffer.(DirectByteBuffer.java:99) at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:288) at sun.nio.ch.Util.getTemporaryDirectBuffer(Util.java:57) at sun.nio.ch.IOUtil.read(IOUtil.java:205) at sun.nio.ch.FileChannelImpl.read(FileChannelImpl.java:145) at org.netbeans.core.output2.FileMapStorage.getReadBuffer(FileMapStorage.java:293) at org.netbeans.core.output2.AbstractLines.getText(AbstractLines.java:105) at org.netbeans.core.output2.OutputDocument.getText(OutputDocument.java:172) at javax.swing.text.PlainView.getLineWidth(PlainView.java:636) at javax.swing.text.PlainView.getPreferredSpan(PlainView.java:214) at javax.swing.plaf.basic.BasicTextUI$RootView.getPreferredSpan(BasicTextUI.java:1258) at javax.swing.plaf.basic.BasicTextUI.getPreferredSize(BasicTextUI.java:820) at javax.swing.JComponent.getPreferredSize(JComponent.java:1624) at javax.swing.JEditorPane.getPreferredSize(JEditorPane.java:1227) at javax.swing.ScrollPaneLayout.layoutContainer(ScrollPaneLayout.java:769) at java.awt.Container.layout(Container.java:1401) at java.awt.Container.doLayout(Container.java:1390) at java.awt.Container.validateTree(Container.java:1473) at java.awt.Container.validate(Container.java:1448) at javax.swing.RepaintManager.validateInvalidComponents(RepaintManager.java:379) at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:113) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:461) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176) at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)