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 173477 - Add support for publishing heap dump when OOM happens
Summary: Add support for publishing heap dump when OOM happens
Status: RESOLVED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Exceptions Reporter (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jindrich Sedek
URL:
Keywords:
: 175194 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-10-01 11:49 UTC by dlipin
Modified: 2009-12-09 01:58 UTC (History)
3 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dlipin 2009-10-01 11:49:27 UTC
If the OOM happens it would be very useful if the heap dump will be send to statistics.netbeans.org together with the 
exception stack trace and messages.log (like it is done now e.g. for profiler snapshot in slowness detector). 
It would be very useful to analyze the OOM errors, especially random or rare ones.
Comment 1 Jindrich Sedek 2009-10-22 10:46:48 UTC
*** Issue 175194 has been marked as a duplicate of this issue. ***
Comment 2 David Strupl 2009-10-22 11:06:49 UTC
One way to deal with the size (suggested by Marian) is e.g. to delete the old dumps when the issue is closed in issuezilla.
Comment 3 Jindrich Sedek 2009-10-22 11:14:29 UTC
The major problem is not with server space, but with submit time. To protect server resources would be possible to 
delete files as suggested.

I'll do some prototype for next release and we will see the status
Comment 4 Jindrich Sedek 2009-12-09 01:58:25 UTC
implemented; 
for OOM heap dump will be attached to a submit and it will be accessible at statistics web site. It won't be attached into bugzilla because bugzilla doesn't allow so big attachments.

e428fe5add02