Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Possible leak in SortOutlineContribution
Possible leak in SortOutlineContribution [message #876777] Fri, 25 May 2012 09:12 Go to next message
Vishal seth is currently offline Vishal sethFriend
Messages: 32
Registered: April 2010
Member
Hi,

The treeViewer instance is not getting garbage collected after the editor is closed. It is fine with small document but create issues with larger one opening one after another. Since treeViewer holds on the instance of XtextDocument hence OOM after opening two consecutive large files one after another.

The deregister method is not implemented for this particular instance where treeViewer is release as done for LinkWithEditorContribution.


Let me know if I have got it wrong?

Regards
Vishal
Re: Possible leak in SortOutlineContribution [message #876967 is a reply to message #876777] Fri, 25 May 2012 15:54 Go to previous message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3108
Registered: July 2009
Senior Member
Vishal,

thanks for the report. I fixed in just in time for 2.3

Regards,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com

Am 25.05.12 11:12, schrieb Vishal seth:
> Hi,
>
> The treeViewer instance is not getting garbage collected after the
> editor is closed. It is fine with small document but create issues with
> larger one opening one after another. Since treeViewer holds on the
> instance of XtextDocument hence OOM after opening two consecutive large
> files one after another.
>
> The deregister method is not implemented for this particular instance
> where treeViewer is release as done for LinkWithEditorContribution.
>
>
> Let me know if I have got it wrong?
>
> Regards
> Vishal
Previous Topic:Cross-Reference
Next Topic:How to get access to the current project location?
Goto Forum:
  


Current Time: Tue Jul 14 14:15:39 GMT 2020

Powered by FUDForum. Page generated in 0.01764 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top