Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Eclipse is leaking handles when opening/closing an editor
icon4.gif  Eclipse is leaking handles when opening/closing an editor [message #986497] Tue, 20 November 2012 11:15 Go to previous message
Pr0 Clipse is currently offline Pr0 Clipse
Messages: 4
Registered: March 2012
Junior Member
This behavior has been observed under Windows 7 x64 in an enterprise IT environment.
Steps to reproduce:

1. Open the task manager
2. Switch to the process tab and make the "Handles" column visible
3. Start eclipse
4. Switch back to the task manager and note down the number of handles eclipse.exe is holding
5. Switch back to eclipse and open a java file

-> the number of handles increases by ~50 (at least on my system)

6. Close the file (trigger garbage collection if you like.. it changes nothing)

-> the number of handles does not decrease

7. Repeat 5. and 6. until you eventually run out of handles....

This is a serious problem since we're opening and closing a large number of files in our JUnit test suite to test our RCP based product.

Additional info: Using processhacker I can tell that almost all newly created handles are "Token" handles. So it's seems it's not a SWT handle problem, since the number of GDI and USER handles stays the same -- no matter how many files I open and close.

Does anyone know if this is a general eclipse problem or if it somehow can be attributed to the windows environment (group policies)?

Regards
 
Read Message icon4.gif
Read Message
Read Message
Read Message
Read Message
Previous Topic:adapter factory not loaded
Next Topic:Unable to create object of SAXBuilder.
Goto Forum:
  


Current Time: Wed May 22 17:52:34 EDT 2013

Powered by FUDForum. Page generated in 0.05340 seconds