Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » How to debug "No more handles" in my IDE
How to debug "No more handles" in my IDE [message #480635] Tue, 18 August 2009 02:37 Go to next message
Will Horn is currently offline Will HornFriend
Messages: 265
Registered: July 2009
Senior Member
On Eclipse 3.5 Galileo, I can't work for a full day without running into
strange behavior and hanging UI in the IDE. The log often has
"org.eclipse.swt.SWTError: No more handles". Seems like this implies a
resource leak. Are there any known issues? If not, how should I start
debugging?

Can I rule anything out? For example, is it possible for a leak in a child
process (e.g. my RCP application that I regularly launch) to affect the IDE?
Or is it definitely a problem with an IDE plugin?

Thanks,
Will
Re: How to debug "No more handles" in my IDE [message #480706 is a reply to message #480635] Tue, 18 August 2009 09:49 Go to previous message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

It is definitely a problem with your IDE instance, the child process can have an effect on Windows (eventually) but it will free up its resources when the child process ends.

You can run Sleak: http://www.eclipse.org/swt/tools.php sleak takes a snapshot of the allocated resources (from an SWT point of view, colours, fonts, images, etc). Then later you can take a diff, to see what else has been allocated. Then take a snapshot and later another diff.

If certain stack traces appear over and over, that's a leak.

PW


Previous Topic:[CVS] creating a branch from an od tag
Next Topic:Opening drop down menu from cheat sheet
Goto Forum:
  


Current Time: Sat Apr 20 00:33:18 GMT 2024

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

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

Back to the top