Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » Grid - GridViewer - Memory Leaks
Grid - GridViewer - Memory Leaks [message #591266] Fri, 25 July 2008 08:28
Peter Pfeifer is currently offline Peter PfeiferFriend
Messages: 98
Registered: July 2009
Member
Hello there.

I just installed the Sleak-plugin to watch the resource usage of my RCP
application. I use the grid viewer intensivly. I encountered a view
things right now.

1.) this.cellHeaderSelectionBackground = new Color (getDisplay(),cellSel):

this color is always created when a grid is instantiated. Wouldn't it
make sense to cache this color using the Jface-ImageRegistry?

2.) sizingGC = new GC(this):
this GC is used throught the whole grid in a couple of methods. When
opening views/editors containing a grid this GC gets never disposed as
long the views/editors remain open. What about creating a GC when it's
needed and dispose it afterwards?

Thank you very much.

Peter
Previous Topic:Grid - GridViewer - Memory Leaks
Next Topic:Traverse between cells using Tab key
Goto Forum:
  


Current Time: Sat Apr 20 04:25:13 GMT 2024

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

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

Back to the top