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 183503 - [69cat] OOME
Summary: [69cat] OOME
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 6.x
Hardware: PC All
: P2 normal (vote)
Assignee: issues@editor
URL:
Keywords: PERFORMANCE, REGRESSION
Depends on:
Blocks:
 
Reported: 2010-04-05 17:03 UTC by misterm
Modified: 2010-05-03 15:31 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log when OOME occurred (232.50 KB, application/octet-stream)
2010-04-05 17:03 UTC, misterm
Details
messages.log when OOME occurred (83.19 KB, application/octet-stream)
2010-04-05 21:19 UTC, misterm
Details
screenshot of the opened heap dump in profiler (90.65 KB, image/png)
2010-04-06 12:22 UTC, Tomas Pavek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description misterm 2010-04-05 17:03:34 UTC
Created attachment 96697 [details]
messages.log when OOME occurred

http://rs818tl.rapidshare.com/cgi-bin/upload.cgi?rsuploadid=336937795396788743

Another OOME. It seems to be editor-related again, since memory consumption grew a lot as I was opening editor tabs. Around 25 editor tabs were open by the time the error occurred.
Comment 2 misterm 2010-04-05 21:19:52 UTC
Created attachment 96715 [details]
messages.log when OOME occurred
Comment 3 Tomas Pavek 2010-04-06 12:22:48 UTC
Created attachment 96764 [details]
screenshot of the opened heap dump in profiler
Comment 4 Tomas Pavek 2010-04-06 12:24:06 UTC
> Another OOME. It seems to be editor-related again...

It seems so.
Comment 5 Miloslav Metelka 2010-04-07 13:56:05 UTC
For now I'm implementing dropping of view hierarchy for inactive files.
A definitive solution for this problem will be lazy-children-views described in issue #183646.
Comment 6 Vitezslav Stejskal 2010-04-07 16:19:41 UTC
The memory consumption should be much lower after:
http://hg.netbeans.org/jet-main/rev/df9f8b577e67
http://hg.netbeans.org/jet-main/rev/10c056ab3568
Comment 8 Quality Engineering 2010-04-09 04:45:07 UTC
Integrated into 'main-golden', will be available in build *201004090201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/df9f8b577e67
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #183503: Composite AttributeSets should be smaller now: there is a special class for composites of size == 2, and "big" (size > 2) composites are now backed-up by an array instead of LinkedList.
Comment 9 Miloslav Metelka 2010-05-03 15:31:10 UTC
Since issue #183646 was fixed this should no longer happen.