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 250485 - [HeapWalker] OOME from dialog preview
Summary: [HeapWalker] OOME from dialog preview
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Jiri Sedlacek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-18 09:03 UTC by Tomas Hurka
Modified: 2016-05-10 01:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Hurka 2015-02-18 09:03:28 UTC
Steps:
1) Download heap dump from http://statistics.netbeans.org/exceptions/exception.do?id=765947
2) Open this heap dump
3) Click on NbDialog#1 in Application windows section

This dialog contains 350K text in the UI component (NbDialog#1).
Comment 1 Tomas Hurka 2015-07-02 10:42:01 UTC
JComboBox#3 has width 2780745.
Comment 2 Tomas Hurka 2015-07-02 11:02:43 UTC
Fixed in profiler-main

changeset:   288748:f22099f1a792
user:        Tomas Hurka <thurka@netbeans.org>
date:        Thu Jul 02 13:01:16 2015 +0200
summary:     bugfix #250485, limit maximum size of dimension
Comment 3 Quality Engineering 2015-07-09 01:16:28 UTC
Integrated into 'main-silver', will be available in build *201507090001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/f22099f1a792
User: Tomas Hurka <thurka@netbeans.org>
Log: bugfix #250485, limit maximum size of dimension
Comment 4 Jiri Sedlacek 2016-05-06 12:11:51 UTC
Original fix caused Bug #259149.

Another fix http://hg.netbeans.org/profiler-main/rev/99bb72a4f772.
Comment 5 Quality Engineering 2016-05-10 01:41:15 UTC
Integrated into 'main-silver', will be available in build *201605100002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/99bb72a4f772
User: Jiri Sedlacek <jis@netbeans.org>
Log: Bugfix #250485 - make sure components previewed in HeapWalker are not too large to prevent OOME