Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » dispose of images
dispose of images [message #113646] Wed, 26 November 2008 15:24 Go to next message
Andrej Dimic is currently offline Andrej DimicFriend
Messages: 77
Registered: July 2009
Member
Hi

out RAP website (www.gebrauchtteile.ch) gets slower over time indicating
memory leaks.

we do have a lot of changing images and as images can not be disposed() in
RAP i fear that memory finally gets exhausted.
Questions:
is there a internal mechanism that disposes images from time to time?
if not: what can we do to dispose() old images that are no longer used.

Thanks
Andrej
Re: dispose of images [message #113690 is a reply to message #113646] Wed, 26 November 2008 20:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: rherrmann.innoopract.com

Andrej,

I assume that you refer to the server side which slower over time.
Which version of RAP are you using?

Images in RAP do not hold the actual image data but only a string
that denotes the location of the image file. Hence this is not what
exhausts the memory.

Best thing would probably be to use a profiler to track down the
problem.

Cheers,
Rüdiger

adiinfo wrote:
> Hi
>
> out RAP website (www.gebrauchtteile.ch) gets slower over time indicating
> memory leaks.
>
> we do have a lot of changing images and as images can not be disposed()
> in RAP i fear that memory finally gets exhausted.
> Questions:
> is there a internal mechanism that disposes images from time to time?
> if not: what can we do to dispose() old images that are no longer used.
>
> Thanks
> Andrej
>
>
Re: dispose of images [message #113701 is a reply to message #113690] Wed, 26 November 2008 20:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: benjamin.wolff.web.de

Hi Rüdiger,


can you recommend a special Java Profiler? which one do you use? i'd like to do some memory analysing on my RAP app, too.

thanks!


Greetings,
-Ben



Rüdiger Herrmann schrieb:
> Andrej,
>
> I assume that you refer to the server side which slower over time. Which
> version of RAP are you using?
>
> Images in RAP do not hold the actual image data but only a string that
> denotes the location of the image file. Hence this is not what exhausts
> the memory.
>
> Best thing would probably be to use a profiler to track down the problem.
>
> Cheers,
> Rüdiger
>
> adiinfo wrote:
>> Hi
>>
>> out RAP website (www.gebrauchtteile.ch) gets slower over time
>> indicating memory leaks.
>>
>> we do have a lot of changing images and as images can not be
>> disposed() in RAP i fear that memory finally gets exhausted.
>> Questions:
>> is there a internal mechanism that disposes images from time to time?
>> if not: what can we do to dispose() old images that are no longer used.
>>
>> Thanks
>> Andrej
>>
>>
Re: dispose of images [message #113713 is a reply to message #113690] Wed, 26 November 2008 21:20 Go to previous messageGo to next message
Andrej Dimic is currently offline Andrej DimicFriend
Messages: 77
Registered: July 2009
Member
Hi Rüdiger

yes, i refer to the server side.
i use 1.1.1 SR-1. 1.2 is not possible as IE 6 is not supported.

could you recommend a profiler?

Thanks for the insights about how RAP is handling images.
Andrej
Re: dispose of images [message #113750 is a reply to message #113713] Thu, 27 November 2008 09:39 Go to previous message
Eclipse UserFriend
Originally posted by: rherrmann.innoopract.com

Andrej,

we mostly use YourKit (http://www.yourkit.com) that offers CPU and
memory profiling. If only a memory analyzer is needed, the Eclipse
MAT (http://www.eclipse.org/mat) is highly recommendable.

HTH
Rüdiger


adiinfo wrote:
> Hi Rüdiger
>
> yes, i refer to the server side.
> i use 1.1.1 SR-1. 1.2 is not possible as IE 6 is not supported.
>
> could you recommend a profiler?
>
> Thanks for the insights about how RAP is handling images.
> Andrej
>
>
>
Previous Topic:RAP and Draw2D/GEF
Next Topic:Deploying a RAP application
Goto Forum:
  


Current Time: Wed Apr 24 19:22:36 GMT 2024

Powered by FUDForum. Page generated in 0.03495 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top