Java Apache Wicket AjaxSelfUpdatingTimerBehavior – avoiding web browser memory bloat/leak?
I am using the Apache Java WicketStuff InMethod grid and was wanting the grid to automatically refresh its contents at 1 second intervals – the window can stay open for several hours at a time. So I attached an AjaxSelfUpdatingTimerBehaviour to the grid as shown below. The grid does indeed update correctly however after some time (~15mins) Google Chrome crashes with an “out of memory” exception. Profiling the browser does indeed show the Chrome tab memory growing incrementally with each update (like a leak).