Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Profiling RAP Application
Profiling RAP Application [message #647520] Thu, 06 January 2011 18:39 Go to next message
Jesus   Luna Quiroga is currently offline Jesus Luna QuirogaFriend
Messages: 67
Registered: July 2009
Location: Mexico
Member

Hi,
I'm using VisualVM to monitor and profile a RAP application and I've noticed that some instances from the classes of the application are not garbage collected once the rap application and the client's browser have been closed.

For example the classes that extend from ActionBarAdvisor, WorkbenchAdvisor, WorkbenchWindowAdvisor are some of these instances.

Does these instances suppose to be alive once the application has been closed?
If not, is there a way to release them so they can be garbage collected?

[Updated on: Thu, 06 January 2011 19:03]

Report message to a moderator

Re: Profiling RAP Application [message #647662 is a reply to message #647520] Fri, 07 January 2011 16:33 Go to previous messageGo to next message
Jesus   Luna Quiroga is currently offline Jesus Luna QuirogaFriend
Messages: 67
Registered: July 2009
Location: Mexico
Member

Any ideas?
Re: Profiling RAP Application [message #647675 is a reply to message #647520] Fri, 07 January 2011 17:25 Go to previous messageGo to next message
Elias Volanakis is currently offline Elias VolanakisFriend
Messages: 43
Registered: July 2009
Member
Hi,

what is the session timeout you are using? I would expect some things to
stick around until the session times out.

Elias.

On 1/6/2011 10:39, Jesus Luna Quiroga wrote:
> Hi, I'm using VisualVM to monitor and profile a RAP application and I've
> noticed that some instances from the classes of the application are not
> garbage collected once the rap application and the client's browser have
> been closed.
>
> For example the classes that extend from ActionBarAdvisor,
> WorkbenchAdvisor, WorkbenchWindowAdvisor are some of these instances.
>
> Does these instances suppose to be alive once the application has been
> closed?
> If not, is there a way to release so they can be garbage collected?
Re: Profiling RAP Application [message #648045 is a reply to message #647675] Mon, 10 January 2011 23:10 Go to previous messageGo to next message
Jesus   Luna Quiroga is currently offline Jesus Luna QuirogaFriend
Messages: 67
Registered: July 2009
Location: Mexico
Member

Hi,
I'm setting to a 1000 the field session timeout of the runtime settings in the launch configuration of the application. I don't really know if the value are seconds or milliseconds, but I'm guessing that are milliseconds.
Re: Profiling RAP Application [message #648117 is a reply to message #648045] Tue, 11 January 2011 09:47 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

On Mon, 10 Jan 2011 17:10:57 -0600, Jesus Luna Quiroga wrote:
> I'm setting to a 1000 the field session timeout of the runtime settings
> in the launch configuration of the application. I don't really know if
> the value are seconds or milliseconds, but I'm guessing that are
> milliseconds.

No, it's seconds, as the label says: "Session timeout [s]". To be able to
test session cleanup, you'll have to set it to a lower value. I'd
recommend ~30-60s, to be able to simulate some user interaction. Then you
wait for session timeout, create a heap dump, analyze it...

Regards, Ralf

--
Ralf Sternberg

Twitter: @ralfstx
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Profiling RAP Application [message #648232 is a reply to message #648117] Tue, 11 January 2011 22:49 Go to previous message
Jesus   Luna Quiroga is currently offline Jesus Luna QuirogaFriend
Messages: 67
Registered: July 2009
Location: Mexico
Member

Ok thanks, I set to those values the session timeout and it worked the application instances were removed.
Previous Topic:Export RAP project as .WAR
Next Topic:Alternative to Text#setTopIndex
Goto Forum:
  


Current Time: Tue Apr 23 17:33:55 GMT 2024

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

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

Back to the top