AjaxSelfUpdatingTimerBehavior memory?

2014-03-14 Thread Rob Audenaerde
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?

2014-03-14 Thread Martin Grigorov
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.audenae...@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



RE: AjaxSelfUpdatingTimerBehavior memory?

2014-03-14 Thread Rob Audenaerde
On Fri, Mar 14, 2014 at 3:29 PM, Rob Audenaerde rob.audenae...@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-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: AjaxSelfUpdatingTimerBehavior memory?

2014-03-14 Thread Martin Grigorov
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.audenae...@valuecare.nl
 wrote:

 On Fri, Mar 14, 2014 at 3:29 PM, Rob Audenaerde 
 rob.audenae...@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-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org