|
|
|
|
Re: Eclipse is leaking handles when opening/closing an editor [message #986798 is a reply to message #986690] |
Wed, 21 November 2012 11:35  |
Eclipse User |
|
|
|
Did you try to use sleak to findout what handles those are?
Tom
Am 21.11.12 12:18, schrieb Pr0 Clipse:
> Okay, this is really wierd. The problem also occurs when opening/closing
> empty views!
> Try this:
>
> - Create the example mail RCP plugin
> - Comment out the code in View.createPartControl()
> - Start the plugin as Eclipse Application
> - Open the task manager to monitor the handles of javaw.exe
> - Close the Message View
> - Press the + button to create a new (empty) view
> - I'm using processhacker now to see details about the handles
> -> Normal handles increased by 15 (anything but GDI/User handles)
> -> GDI handles increased by 2
> -> User handles increased by 15
> - Now close the message view
> -> Normal handle count does not change!
> -> GDI handles decreased by 2
> -> User handles decreased by 15
>
> Now, if you don't close the message view after creating it, each time
> you create a new message view only 3 normal handles and 1 GDI handle are
> allocated.
>
> Note: The problem also occurs in eclipse 4.2.0
>
> Maybe I should raise an official bug report...
|
|
|
Powered by
FUDForum. Page generated in 0.05165 seconds