Bug 26212 - [CVS Core] EditorInput must be light weight
Summary: [CVS Core] EditorInput must be light weight
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Team (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P3 major (vote)
Target Milestone: 2.1 M5   Edit
Assignee: Boris Shingarov CLA
QA Contact:
URL:
Whiteboard:
Keywords: performance
Depends on:
Blocks:
 
Reported: 2002-11-13 16:25 EST by Eduardo Pereira CLA
Modified: 2003-01-20 15:41 EST (History)
0 users

See Also:


Attachments
Temporary patch (909 bytes, patch)
2003-01-20 14:02 EST, Boris Shingarov CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eduardo Pereira CLA 2002-11-13 16:25:25 EST
Build id: 200211130841

Instances of IEditorInput must be light weight as specified in the java doc.
Even after closing the file, the UI framework sometimes keeps references to the 
input.

It seems that the RemoteFileEditorInput is holding the contents of the files.
RemoteFileEditorINput has an instance var RemoteFile which has an instance var 
contents.
Comment 1 Boris Shingarov CLA 2003-01-20 14:02:15 EST
Created attachment 3046 [details]
Temporary patch
Comment 2 Michael Valenta CLA 2003-01-20 15:41:57 EST
Fix released to HEAD