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.
This bug was originally marked as duplicate of bug 240227, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 8.0.2 (Build 201411181905) VM: Java HotSpot(TM) Client VM, 25.0-b70, Java(TM) SE Runtime Environment, 1.8.0-b132 OS: Windows 7 User Comments: GUEST: i don't know what happen Stacktrace: java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:3326) at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:137) at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:121) at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:421) at java.lang.StringBuilder.append(StringBuilder.java:136) at org.netbeans.core.startup.logging.PrintStreamLogger.print(PrintStreamLogger.java:108)
Created attachment 152406 [details] stacktrace
org.netbeans.core.startup.logging.PrintStreamLogger.sb (StringBuilder#4524) has length 54,525,900 chars. PrintStreamLogger should not allow 'sb' to be that big. it should flush the data from 'sb' more aggressively in above case.
The root problem for the user is the neverending stream of java.net.SocketException in the log. But flushing of data in log might be considered.