How to debug "No more handles" in my IDE [message #480635] |
Mon, 17 August 2009 22:37  |
Eclipse User |
|
|
|
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 05:49  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03326 seconds