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 262523

Summary: OutOfMemoryError: Java heap space
Product: projects Reporter: Exceptions Reporter <exceptions_reporter>
Component: AntAssignee: Tomas Zezula <tzezula>
Status: NEW ---    
Severity: normal CC: crosati, s_ikeda, thurka, tstupka
Priority: P3    
Version: 8.0.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 224746
Attachments: stacktrace

Description Exceptions Reporter 2016-06-22 06:39:44 UTC
This issue was reported manually by thurka.
It already has 7 duplicates 

Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.73-b02, Java(TM) SE Runtime Environment, 1.8.0_73-b02
OS: Linux

User Comments:
GUEST: ???

crosati: -

crosati: -

crosati: -

GUEST: After some hours running, the computer got frozen.

GUEST: It happend a lot of hours working.

GUEST: left ide running in a remote debug session, it was hung when I returned

java.lang.OutOfMemoryError: Java heap space
   at java.util.Arrays.copyOf(
   at com.jcraft.jsch.IO.put(
Comment 1 Exceptions Reporter 2016-06-22 06:39:45 UTC
Created attachment 160121 [details]
Comment 2 Tomas Hurka 2016-06-22 06:48:46 UTC
This OOME is caused by bug in Its executeCommand() method holds _compltele_ output from ssh session in the  ByteArrayOutputStream. It probably cannot be fixed in NetBeans, it needs to be fixed in ant itself.