-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"No more handles" - after editing many MANIFEST.MF #2304
Comments
No more handles means the OS is out of resources for more widgets. Most likely an SWT widget is recreated over and over without unused ones being disposed. You may want to try Sleak (https://github.com/eclipse-platform/eclipse.platform.swt/blob/master/bundles/org.eclipse.swt.tools.spies/src/org/eclipse/swt/tools/views/SleakView.java ) and there is an old article on using it https://www.eclipse.org/articles/swt-design-2/sleak.htm . I haven't used it in years so I'm not sure of current state of the tool. |
If you can monitor the running application on your machine, using Sleak can help. |
Why would i have a thousend fonts in my heap? If anybody wants to look: BTW the Exception was:
|
Would be better if the excpetion would just log a histogram of the resource stacktraces. |
I would rather expect the reason to be in controls, not in resources. 12k resource trackers does not seem to be too many. In an ordinary SDK product, I have > 30k resource trackers. Note that not each resource tracker means that there is a handle behind it. E.g., there are many font instances sharing the same handle. Usually, on Windows you have only few font handles but many The task manager screenshot indicates that you are running out of user object handles. There are 9982 with 10000 being the limit on Windows. Maybe the reason is related to the number of controls? E.g. there seem to be quite some |
such fonts would have ignoreMe=true - but they don't have |
I don't remember everything i did but for sure i used eclipse for some hours for various things. -- may relate to I20240923 failed some unit tests with "No more handles" too: |
I have a Heapdump - how do i figure out what leaked?
The text was updated successfully, but these errors were encountered: