|
Re: dispose of images [message #113690 is a reply to message #113646] |
Wed, 26 November 2008 20:06 |
Eclipse User |
|
|
|
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 |
Eclipse User |
|
|
|
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 #113750 is a reply to message #113713] |
Thu, 27 November 2008 09:39 |
Eclipse User |
|
|
|
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
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03495 seconds