Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 363051 - DecorationScheduler keeps event reference causing no Garbage Collection
Summary: DecorationScheduler keeps event reference causing no Garbage Collection
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.2   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-07 09:52 EST by Jens Kuebler CLA
Modified: 2019-11-14 03:16 EST (History)
1 user (show)

See Also:


Attachments
patch to allow for garbage collection (797 bytes, patch)
2011-11-07 09:54 EST, Jens Kuebler CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jens Kuebler CLA 2011-11-07 09:52:35 EST
Build Identifier: M20100909-0800

We are loading a huge model to our model view and the decoration scheduler stores the references to the event. When we disconnect the model, the listeners are deregistered but the event is kept in the decoration scheduler thus keeping a reference to our large model making it impossible to garbage collect it. The solution is to reset the event as done in the applied patch.

Reproducible: Always
Comment 1 Jens Kuebler CLA 2011-11-07 09:54:28 EST
Created attachment 206524 [details]
patch to allow for garbage collection
Comment 2 Lars Vogel CLA 2019-11-14 03:16:46 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

If the bug is still relevant, please remove the "stalebug" whiteboard tag.