[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: [Error] org.eclipse.swt.SWTError: No more handles

Ed,

Yes, I think it may have been a human error, rather than a machine generated error. It was a couple of years ago so I don't remember
the details.


Sometime I would be happy to talk to you about why I dislike Model Driven Architecture and why I believe that models and machine generated code (EMF) cannot create user-friendly, intuitive, or easy to maintain user interfaces. User interface development is an art, not a science.
It's so much more than just a bunch of model objects stuffed in a tree
or table with actions attached.


Shawn


Ed Merks wrote:
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