memory problem [message #180637] |
Mon, 09 May 2005 16:09 |
Eclipse User |
|
|
|
Originally posted by: paulotcbalo.cbalo.ro
Hi there
When i display a few ImageFigures on the main viewer and then scroll the
viewer up and down it seems like eclipse take more and more memory...the
more i make dynamic changes on my viewer (scroll it,add figures,move
figures,...) the more memory it takes and in the end eclipse crashs
(Dialog open exception: org.eclipse.swt.SWTError: No more handles etc...)
Has anyone got a clue to solve this problem ?
Thanxs for help !
|
|
|
|
Re: memory problem [message #180746 is a reply to message #180679] |
Tue, 10 May 2005 08:56 |
Eclipse User |
|
|
|
Originally posted by: paulo.test.fr
I use a lot of ImageFigures which load their image from static images
instances.But even with a few ImageFigures (6-7),scrolling the main panel
up and down makes the memory rise and rise...
Anyways how do you set up Sleak in your eclipse plug-in ? i mean where to
find the display of the example lines ?
(DeviceData data = new DeviceData();
data.tracking = true;
Display display = new Display(data);)
|
|
|
Re: memory problem [message #180865 is a reply to message #180637] |
Wed, 11 May 2005 00:21 |
Eclipse User |
|
|
|
Originally posted by: kirilmitov.kkkk.com
I hade the same problem with Fonts under Windows.
Windows has a defined number of font handles. I was creating too many
fonts without disposing them and the exception was the same
"org.eclipse.swt.SWTError: No more handles etc..."
|
|
|
Powered by
FUDForum. Page generated in 0.03562 seconds