You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Rob Audenaerde <Ro...@Valuecare.nl> on 2014/03/14 14:29:39 UTC

AjaxSelfUpdatingTimerBehavior memory?

I have a question on the AjaxSelfUpdatingTimerBehavior
I have some memory issues and wondered in the behavior could cause this (on Jetty)
When connected with jvisualvm I see the heap increasing each time the AjaxSelfUpdatingTimerBehavior is fired (with about 3M per request)
Is that what I should see?


?Thx

-Rob

Re: AjaxSelfUpdatingTimerBehavior memory?

Posted by Martin Grigorov <mg...@apache.org>.
It looks OK.
The memory grows but after (manual) GC it is freed.

Martin Grigorov
Wicket Training and Consulting


On Fri, Mar 14, 2014 at 3:54 PM, Rob Audenaerde <Rob.Audenaerde@valuecare.nl
> wrote:

> On Fri, Mar 14, 2014 at 3:29 PM, Rob Audenaerde <
> Rob.Audenaerde@valuecare.nl
> > wrote:
>
> > I have a question on the AjaxSelfUpdatingTimerBehavior
> > I have some memory issues and wondered in the behavior could cause this
> > (on Jetty)
> > When connected with jvisualvm I see the heap increasing each time the
> > AjaxSelfUpdatingTimerBehavior is fired (with about 3M per request)
> > Is that what I should see?
> >
> >
>
> I have reproduced it in a quickstart.
>
> The screenshot is here: http://www.audenaerde.org/ajax/screenshot.png
> The quickstart can be found here:
> http://www.audenaerde.org/ajax/ajaxmemory.zip
>
> Note that I am running in debug mode; but that should not matter I suppose.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

RE: AjaxSelfUpdatingTimerBehavior memory?

Posted by Rob Audenaerde <Ro...@Valuecare.nl>.
On Fri, Mar 14, 2014 at 3:29 PM, Rob Audenaerde <Rob.Audenaerde@valuecare.nl
> wrote:

> I have a question on the AjaxSelfUpdatingTimerBehavior
> I have some memory issues and wondered in the behavior could cause this
> (on Jetty)
> When connected with jvisualvm I see the heap increasing each time the
> AjaxSelfUpdatingTimerBehavior is fired (with about 3M per request)
> Is that what I should see?
>
>

I have reproduced it in a quickstart.

The screenshot is here: http://www.audenaerde.org/ajax/screenshot.png
The quickstart can be found here: http://www.audenaerde.org/ajax/ajaxmemory.zip

Note that I am running in debug mode; but that should not matter I suppose. 
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: AjaxSelfUpdatingTimerBehavior memory?

Posted by Martin Grigorov <mg...@apache.org>.
Hi,

Definitely not!
Capture some memory snapshots and see what is the difference between them.
I'm not sure whether VisualVM can do that but Eclipse MAT can.

Martin Grigorov
Wicket Training and Consulting


On Fri, Mar 14, 2014 at 3:29 PM, Rob Audenaerde <Rob.Audenaerde@valuecare.nl
> wrote:

> I have a question on the AjaxSelfUpdatingTimerBehavior
> I have some memory issues and wondered in the behavior could cause this
> (on Jetty)
> When connected with jvisualvm I see the heap increasing each time the
> AjaxSelfUpdatingTimerBehavior is fired (with about 3M per request)
> Is that what I should see?
>
>
> ?Thx
>
> -Rob
>