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 153220

Summary: Enhance nbexec to generate heap dump in case of OutOfMemError
Product: platform Reporter: Jaroslav Tulach <jtulach>
Component: -- Other --Assignee: t_h <t_h>
Status: RESOLVED FIXED    
Severity: blocker CC: jglick, tpavek
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description Jaroslav Tulach 2008-11-14 14:10:32 UTC
In case the system throws OutOfMemory exception a file is generated to $userdir/var/log or similar directory and the 
user is asked (maybe on next start) to send this file to NetBeans. 

Details at http://wiki.netbeans.org/FitnessViaPartnership
Comment 1 t_h 2008-11-19 16:07:17 UTC
392a4495db66
Comment 2 Jesse Glick 2008-11-20 04:30:21 UTC
This seems like a huge privacy issue. A heap dump could contain passwords, confidential sources, etc. I don't think the
user is necessarily aware of what they might be sending to an unknown recipient. Even storing such dumps to the userdir
could leak sensitive information to an untrusted location.
Comment 3 Quality Engineering 2008-11-20 04:43:15 UTC
Integrated into 'main-golden', will be available in build *200811200201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/392a4495db66
User: Tomas Holy <t_h@netbeans.org>
Log: #153220: Enhance nbexec to generate heap dump in case of OutOfMemError