|Diagnose "no more handles" error in eSWT [message #564276]
||Fri, 08 January 2010 13:36
Registered: January 2010
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.
Powered by FUDForum
. Page generated in 0.01295 seconds