Project

General

Profile

Activity

From 04/18/2017 to 05/17/2017

05/17/2017

06:02 PM Bug #7190: memory leak due to hierarchy listeners when cloning
Ok, now I see Dan's text:
> In the usecase I'm debugging, the toplevel Composites in both the original and new mod...
Christopher Brooks
05:39 PM Bug #7190: memory leak due to hierarchy listeners when cloning
Interestingly, if I edit leak.java and replace Ramp with Const, then I don't have the leak. See the attached file, l... Christopher Brooks
04:03 PM Bug #7190: memory leak due to hierarchy listeners when cloning
It seems like when we clone, it is not sufficient to set _hierarchyListeners to null in NamedObj, we also need to loo... Christopher Brooks

05/12/2017

05:42 PM Bug #7190: memory leak due to hierarchy listeners when cloning
I'm attaching a program that illustrates the leak. It creates a simple model containing Ramp, clones the model 100 ti... Daniel Crawl
01:24 PM Bug #7190: memory leak due to hierarchy listeners when cloning
A simple model and a description of what to do would be sufficient. Christopher Brooks
01:23 PM Bug #7190: memory leak due to hierarchy listeners when cloning
I'm happy to provide a test case - what's the best format? Daniel Crawl
12:56 PM Bug #7190: memory leak due to hierarchy listeners when cloning
This is an interesting issue. To pursue it would require a test case.
We've seen plenty of issues with cloning of...
Christopher Brooks
01:26 PM Bug #7189: memory leak in Manager
Good point. I'll keep this bug in my queue. Christopher Brooks
01:22 PM Bug #7189: memory leak in Manager
Ignoring the memory leak issue, the shutdown hook does not appear to be correctly implemented since it is unregistere... Daniel Crawl
12:53 PM Bug #7189: memory leak in Manager
BTW - the purpose of the shutdown hook is:
> Added a shutdown hook so that model is gracefully stopped when the JV...
Christopher Brooks

05/11/2017

05:09 PM Bug #7190 (Resolved): memory leak due to hierarchy listeners when cloning
When a model is cloned, some NamedObjs in the new model have hierarchy listeners from the original model, which preve... Daniel Crawl
04:38 PM Bug #7189 (New): memory leak in Manager
The Manager registers a shutdown thread with the JVM, but does not unregister it after execute() is finished, which p... Daniel Crawl
 

Also available in: Atom