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

Bug 337123

Summary: Memory leak as a result of Incorrect handling removing IContainer resource in WorkspaceListener.
Product: [Technology] Tigerstripe Reporter: Valentin Yerastov <valentin>
Component: CoreAssignee: Project Inbox <tigerstripe.core-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: yuri
Version: unspecified   
Target Milestone: 0.5M0   
Hardware: PC   
OS: All   
Whiteboard:

Description Valentin Yerastov CLA 2011-02-14 09:09:29 EST
Build Identifier: 

As a result of profiling, was found a memory leak in caches ArtifactManager (extractedMap, namedArtifactsMap, sourceMap, filenameMap) 

As a result of malfunctioning of the class WorkspaceListener that handles the removing resources, when removing the IContainer resource(eg folder) ArtifactManager not reach an event of that artifact is removed, because removed resources can not adapt to the artifact and therefore are not considered by them, even if the resource meets the artifact.

Reproducible: Always
Comment 1 Yuri Strot CLA 2011-02-21 02:50:33 EST
Applied patch from the bug 337117.