Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 327733

Summary: Memory leak in MetaDataModelManager
Product: [WebTools] Java Server Faces Reporter: Carlin Rogers <carlin.rogers>
Component: JSF ToolsAssignee: Carlin Rogers <carlin.rogers>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: gerry.kessler
Version: 3.2.2   
Target Milestone: 3.2.3   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
patch to override destroy() none

Description Carlin Rogers CLA 2010-10-14 01:07:44 EDT
The MetaDataModelManager which is an object manager (instances of MetaDataModel for each project) via the ResourceSingletonObjectManager framework, does not clean up resources when the project is deleted. This ends up leaking MetaDataModel objects and underlying data. Though there is no persistent data to clean up, MetaDataModelManager should still override the IManagedObject.destroy() method and clean up resources and memory references.
Comment 1 Carlin Rogers CLA 2010-10-14 01:33:34 EDT
Created attachment 180849 [details]
patch to override destroy()
Comment 2 Carlin Rogers CLA 2010-10-14 13:21:01 EDT
Checked in the patch to HEAD, revision 1.21 of MetaDataModelManager.