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

Bug 329465

Summary: Memory leak with SVGFigure
Product: [Modeling] GMF-Tooling Reporter: Aurelien Pupier <apupier>
Component: CoreAssignee: Project Inbox <gmp.gmf-tooling-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: ahunter.eclipse, mistria
Version: unspecifiedFlags: mistria: iplog+
mistria: review+
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Attachments:
Description Flags
patch to avoid memory leak none

Description Aurelien Pupier CLA 2010-11-04 13:30:58 EDT
Build Identifier: 20100617-1415

Transcoder kept a BufferedImage in memory
Document definition is recreated for each svgfigure

Reproducible: Always
Comment 1 Aurelien Pupier CLA 2010-11-04 13:32:52 EDT
Created attachment 182399 [details]
patch to avoid memory leak

registry for document describing SVG
don't keep in memory the bufferedImage which is invalidate all the time
Comment 2 Anthony Hunter CLA 2010-11-04 14:20:43 EDT
This is actually in the GMF Tooling project.
Comment 3 Mickael Istria CLA 2011-08-08 12:35:09 EDT
Thnaks for this patch.
It is now committed and will be part of next GMF Tooling release.