| [news.eclipse.platform.rcp] Re: [Error] org.eclipse.swt.SWTError: No more handles |
Ed,
Shawn
Shawn,
EMF uses registries for the image management. Was it a programming error on your part or is there something being overlooked in EMF?
Shawn Spiars wrote:Michael,
You can use sleak to track the creation and disposing of SWT resources. It helped me find an image that was being created over and over in some EMF factory or adapter whatchamacallit.
http://www.eclipse.org/swt/tools.php
Shawn
Ed Merks wrote:Michael,
Gosh, I'm not sure how best to track these things. There is indeed a system wide limit as well as a per process limit, if I remember previous postings correctly. Hopefully someone will have details, or googling will turn them up
Michael Heiß wrote:Hi,
For images i use the ImageRegistry so i think this cant be the source. How can i detect widgets that i do not dispose properly?
When i look in the task manager i see the following result: memory: 46.200 K Handles 869 UserObjects: 1150 GDI-Objects: 1120
What is the limit on a computer running windows xp?
Best Regards Michael