Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 364645 - New File wizard has Image leaks related with Image decorator
Summary: New File wizard has Image leaks related with Image decorator
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 4.2   Edit
Hardware: PC Windows Vista
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-23 14:43 EST by Vitali CLA
Modified: 2011-11-30 10:15 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vitali CLA 2011-11-23 14:43:22 EST
Build Identifier:  I20110613-1736

to find that you should use a tool 'Sleak' to find resource leaks: http://www.eclipse.org/swt/tools.php
install it as described in instruction. here is a shorter howto: http://loracular.blogspot.com/2011/11/serach-reasource-leaks-in-eclipse.html

your workspace should not be empty, in case of empty workspace or if workspace contains a clean project without warnings and not under SVN - you can not reproduce the Image leak.
i.e. the project should have decorated icons - it should be under SVN or should have at least one warning.

Reproducible: Always

Steps to Reproduce:
1. open "Sleak" view - click on "Snap" button, remember number of allocated Images
2. open New File wizard
3. close New File wizard
4. in "Sleak" view - click on "Snap" button, remember number of allocated Images
5. open New File wizard
6. close New File wizard
7. in "Sleak" view - click on "Snap" button, remember number of allocated Images
take a look at difference - every time you'll get several new Image leaks.
Comment 1 Vitali CLA 2011-11-23 14:48:12 EST
this leak cause Eclipse stable work, so I want to mark this issue as "critical"...
Comment 2 Remy Suen CLA 2011-11-24 09:07:48 EST
I cannot reproduce this problem.
Comment 3 Vitali CLA 2011-11-24 09:54:18 EST
I've check Eclipse 3.7.1 (Build Identifier: M20110909-1335) and the bug is not reproducible cause starting from version 3.7.1 you stop use decorated images in NewFileWizard tree. in Eclipse 3.7.0 (Build Identifier:  I20110613-1736) - the bug exist. imo, possible to close the issue, cause it was fixed in Eclipse 3.7.1
Comment 4 Dani Megert CLA 2011-11-30 10:15:21 EST
I cannot reproduce this either using
http://download.eclipse.org/eclipse/downloads/drops/I20111129-1024/index.php