Bug 156906 - CacheAdapter leaks unloaded resources
Summary: CacheAdapter leaks unloaded resources
Status: VERIFIED FIXED
Alias: None
Product: MDT.UML2
Classification: Modeling
Component: Core (show other bugs)
Version: 2.0.0   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: 2.0.1   Edit
Assignee: Kenn Hussey CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-11 13:46 EDT by Kenn Hussey CLA
Modified: 2008-01-28 16:36 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kenn Hussey CLA 2006-09-11 13:46:04 EDT
The CacheAdapter, as a static singleton cross reference adapter, will leak references to resource that have been unloaded.
Comment 1 Rafael Chaves CLA 2006-09-12 11:56:25 EDT
Kenn, is this the issue I reported on the newsgroups?

http://www.eclipse.org/newsportal/article.php?id=4021&group=eclipse.tools.uml2#4021

If so, have you seen my last reply where I provide a test case that shows that even if I unload all of the resources in the resource set?
Comment 2 Rafael Chaves CLA 2006-09-12 12:24:01 EDT
That should have read: "...shows that even if I unload all of the resources in the resource set the leak still happens?".

My question is: does this PR cover that version of the test case or should I open a new one?
Comment 3 Kenn Hussey CLA 2006-09-12 13:14:42 EDT
Yes, this covers your latest test case. I have identified three possible sources of memory leaks, and am currently investigating how best to elminate them.
Comment 4 Kenn Hussey CLA 2006-09-13 10:30:00 EDT
The fix has been committed to CVS.
Comment 5 Kenn Hussey CLA 2006-09-14 18:10:19 EDT
Fixed in M200609141745.
Comment 6 Nick Boldt CLA 2008-01-28 16:36:13 EST
Move to verified as per bug 206558.