Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Is there a memory leak of xtext editors opened by debugger?
Is there a memory leak of xtext editors opened by debugger? [message #1219274] Tue, 03 December 2013 05:43
paul lu is currently offline paul lu
Messages: 14
Registered: April 2013
Junior Member
Hi,

The debug framework uses SourceLookupFacility to open the source code editor. It can set the editor input using one instantiated editor part. But there is no way to call xtext editor's dispose, does it mean no way to undo "set editor input" and release the memory ? BTW, why the dispose does many null assignments?

I experimented with xtend, the source editor first turned out to be java editor; I opened xtend editors and set a few breakpoints, then the debug displays the xtend editors (why?). After repeating the debugging to make the editor input switch as much as possible, the memory did increase. Is it a problem ?

Thanks !


Previous Topic:EMF + Xtext 2.4.3: Error in serialization of EObject
Next Topic:Optimize imports on content proposal
Goto Forum:
  


Current Time: Fri Sep 19 11:55:21 GMT 2014

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

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