Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » eRCP » Diagnose "no more handles" error in eSWT(How to diagnose the eSWT error "no more handles" on Windows Mobile 5.0 running Creme 4.12)
Diagnose "no more handles" error in eSWT [message #506686] Fri, 08 January 2010 08:36
Yanick is currently offline Yanick
Messages: 2
Registered: January 2010
Junior Member
We have written an eSWT application that runs on Creme 4.12 for Window Mobile 5.0 devices. The application has over 40 different shells displayed and disposed many times in the same user session.

The problem is that over time, users that go through many screens eventually hit an SWT crash with error "no more handles" while creating a widget. The app is also opening HTTP connection to send and receive data to a server every few screens but I doubt it has anything to do with the problem.

We looked at the code over and over and we do dispose of every shell and other resource used. We still get the error.

I know SLeak can be used on the desktop but it is not supported by eSWT to diagnose precisely where handles are leaked. We used a TaskManager on the device but it is not precise enough. The Creme Monitor does provide that information either.

Any ideas as to how to diagnose a handle leak on eSWT with Window Mobile 5.0 ? keep in mind that Creme 4.12 implements Java 1.3.1 only.

thanks
Previous Topic:TableCellEditing in eRCP-eSWT-eJface
Next Topic:Diagnose "no more handles" error in eSWT
Goto Forum:
  


Current Time: Fri Aug 01 12:02:36 EDT 2014

Powered by FUDForum. Page generated in 0.09549 seconds