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 269489

Summary: Incorrect retained size for javaapplication1.JavaApplication1$B[]#1
Product: profiler Reporter: Tomas Hurka <thurka>
Component: EngineAssignee: Tomas Hurka <thurka>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: 7.0   
Hardware: PC   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Heap dump

Description Tomas Hurka 2017-01-05 08:47:33 UTC
Created attachment 163343 [details]
Heap dump

Use attached heap dump and compute retained size. Retained size of javaapplication1.JavaApplication1$B[]#1 is 802,240,024, which is clearly incorrect, since the size of _whole_ heap dump is around 4M.
Comment 1 Tomas Hurka 2017-01-05 11:00:33 UTC
Fixed in profiler-main

changeset:   302061:0f7cb1821dfc
user:        Tomas Hurka <thurka@netbeans.org>
date:        Thu Jan 05 11:59:08 2017 +0100
summary:     bugfix #269489, instane size should be added to parent only once
Comment 2 Quality Engineering 2017-01-07 08:41:08 UTC
Integrated into 'main-silver', will be available in build *201701070458* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/0f7cb1821dfc
User: Tomas Hurka <thurka@netbeans.org>
Log: bugfix #269489, instane size should be added to parent only once