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.

Bug 270208

Summary: OutOfMemoryError: Java heap space
Product: platform Reporter: nullbarriere
Component: Output WindowAssignee: Jaroslav Havlin <jhavlin>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 153587
Attachments: stacktrace

Description nullbarriere 2017-03-27 06:43:28 UTC
Build: NetBeans IDE 8.2 (Build 201609300101)
VM: Java HotSpot(TM) Client VM, 25.101-b13, Java(TM) SE Runtime Environment, 1.8.0_101-b13
OS: Windows 10

User Comments:
GUEST: Sorry, no idea.

GUEST: I left my program running over the weekend.  When I turned it off Netbeans wouldn't let me change anything.  It just froze.

GUEST: Everyday, by starting Netbeans.

nullbarriere: Presumably and endless Loop of an Object rendering itself to a String and therby rendering itself let PHP run out of Memory. In PHP it looked sth like $this->$this->render();

GUEST: out of memory

GUEST: Running a project

GUEST: long output

GUEST: Payara / Glassfish output window got flooded with exception logs, when code fails while trying to write to temp file (looping until its written).

GUEST: same loop of adding numbers runs continuously without stoping for every method.

GUEST: Running a project

GUEST: <Please provide a description of the problem or the steps to reproduce>
OutOfMemoryError: Java heap space

twoelectric: I used Windows Vista's Sleep function. It works very well for everything else, but I seem to have trouble on Wake with NetBeans!




Stacktrace: 
java.lang.OutOfMemoryError: Java heap space
   at org.netbeans.core.output2.IntList.allocArray(IntList.java:88)
   at org.netbeans.core.output2.IntList.growArray(IntList.java:138)
   at org.netbeans.core.output2.IntList.add(IntList.java:81)
   at org.netbeans.core.output2.AbstractLines.lineUpdated(AbstractLines.java:817)
   at org.netbeans.core.output2.OutWriter.write(OutWriter.java:221)
   at org.netbeans.core.output2.OutWriter.doWrite(OutWriter.java:501)
Comment 1 nullbarriere 2017-03-27 06:43:30 UTC
Created attachment 163953 [details]
stacktrace