Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » [Transaction] Redo(Undo)ActionWrapper memory leak?
[Transaction] Redo(Undo)ActionWrapper memory leak? [message #606756] Tue, 22 May 2007 07:16
Grzegorz Bialek is currently offline Grzegorz BialekFriend
Messages: 43
Registered: July 2009
Member
Hello,

I use EMF workspace integration plugins in my App. (currently 1.1M7). Today
I discover strange behavior with my profiler. When I close any of my editors
I left in memory my TransactionalEditingDomainImpl. I create one ED for each
editor and dispose it after close. But my ED is held in memory by two
references from undo/redo action wrappers. I don't know how to release these
references.

Maybe someone can help me with this or maybe this is a small bug?

Stack from profiler looks like:
org.eclipse.emf.transaction.impl.TransactionalEditingDomainI mpl
domain of org.eclipse.emf.workspace.ui.actions.RedoActionWrapper
this$0 of org.eclipse.emf.workspace.ui.actions.RedoActionWrapper$1
ownerAccess of org.eclipse.emf.workspace.ui.actions.ActionWrapperHelper
this$0 of org.eclipse.emf.workspace.ui.actions.ActionWrapperHelper$2
[11] of java.lang.Object[12]
listeners of org.eclipse.core.runtime.ListenerList
listenerList of org.eclipse.ui.internal.PartListenerList
listeners of org.eclipse.ui.internal.PartService
partService of org.eclipse.ui.internal.WorkbenchPagePartList
partList of org.eclipse.ui.internal.WorkbenchPage
lastActivePage of
org.eclipse.ui.internal.ide.application.IDEWorkbenchWindowAd visor
windowAdvisor of org.eclipse.ui.internal.WorkbenchWindow
activeWorkbenchWindow of org.eclipse.ui.internal.Workbench [Stack
Local]
Previous Topic:[Teneo+Hibernate]Help! A hibernate mapping question
Next Topic:[Teneo+Hibernate]Help! A hibernate mapping question
Goto Forum:
  


Current Time: Mon Jan 18 08:34:15 GMT 2021

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

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

Back to the top