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
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.
Integrated into 'main-golden', will be available in build *200811200201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Tomas Holy <email@example.com>
Log: #153220: Enhance nbexec to generate heap dump in case of OutOfMemError