Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » what is a handle
what is a handle [message #291091] Wed, 07 September 2005 17:37 Go to next message
harry sheng is currently offline harry shengFriend
Messages: 37
Registered: July 2009
Member
Hi,

I was editing a perl script in Eclipse 3.0.3 with EPIC 0.3.0 plugin
when Eclipse IDE suddenly disappeared on me and found the following
error from the log file.

I had opened Eclipse for a while, but only two perl script files were
opened in the IDE when this happened.

What is a handle in the error message?
What does "No more handles" mean? How to avoid this?

Thanks in advance.

Harry


!ENTRY org.eclipse.ui 4 0 Sep 07, 2005 13:15:21.46
!MESSAGE No more handles
!STACK 0
org.eclipse.swt.SWTError: No more handles
at org.eclipse.swt.SWT.error(SWT.java:2717)
at org.eclipse.swt.SWT.error(SWT.java:2616)
at org.eclipse.swt.SWT.error(SWT.java:2587)
at org.eclipse.swt.graphics.Image.init(Image.java:1591)
at org.eclipse.swt.graphics.Image.init(Image.java:1689)
at org.eclipse.swt.graphics.Image.<init>(Image.java:628)
at
org.eclipse.jface.resource.ImageDescriptor.createImage(Image Descriptor.java:169)
at
org.eclipse.jface.resource.ImageDescriptor.createImage(Image Descriptor.java:115)
at
org.eclipse.jface.resource.ImageDescriptor.createImage(Image Descriptor.java:97)
at
org.epic.perleditor.templates.perl.VariableEngine.complete(V ariableEngine.java:94)
at
org.epic.perleditor.editors.perl.PerlCompletionProcessor.com puteCompletionProposals(PerlCompletionProcessor.java:135)
at
org.eclipse.jface.text.contentassist.ContentAssistant.comput eCompletionProposals(ContentAssistant.java:1472)
at
org.eclipse.jface.text.contentassist.CompletionProposalPopup .computeProposals(CompletionProposalPopup.java:242)
....
Re: what is a handle [message #291092 is a reply to message #291091] Wed, 07 September 2005 18:08 Go to previous message
Eclipse UserFriend
Originally posted by: automatic.javalobby.org

It's an OS-specific limitation; you've created too many SWT images, and the OS cannot cope with any more.

Usually, this means that some plugin isn't doing a .dispose() when it's being finished with, with the result that you're both memory leaking and image-handle leaking. But you'd have to be generating a lot of handles to run out on most modern systems (though older ones do tend to have more serious limitations).
Previous Topic:Plugin install directory
Next Topic:Problems exporting plugin to zip
Goto Forum:
  


Current Time: Thu Apr 25 19:55:05 GMT 2024

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

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

Back to the top