|org.eclipse.swt.SWTError: No more handles [message #770817]
||Sun, 25 December 2011 12:49
Registered: February 2013
I'm new to SWTBot, I'm not sure if this is the right place but I thought the information I found is worth sharing and might interest others.|
We are working with Jenkins as a CI tool. This server is connected to a VM running windows XP, it is used to automate our SWTBot tests.
After running 100 tests or so we started getting the "No more handles" error, since I know this issue I turned to sleak to search for a resource leak.
When I couldn't find a leak I followed the handles allocated to the process while the tests were running. I noticed that after 750 "USER Objects" were allocated to the process I started getting the "No more handles" error.
It seems that this error occurred because the Jenkins server is connected to the VM using a service, and in windows XP every non interactive service has a very low size of heap allocated to it that is easily exceeded when an eclipse process is running.
In windows XP the size of the heap allocated to a noninteractive service is configurable. For more information on how to do this see: http ://msdn.microsoft.com/en-us/library/ms682124.aspx
Powered by FUDForum
. Page generated in 0.07630 seconds