wicket-dnd
wicket-dnd copied to clipboard
Ajax-replacing a element that is a DnD DragSource seems to leak memory?
Hi Sven,
I'm analysing the performance of our application, and it seems there is memory leaking. When trying to analyse in chrome developer tools what was going on, it seemed there was some leakage related to element that where marked as DragSource. I took two heap-snapshots. One before ajax-replacing a Component used as DragSource, and one after. There is a lot going on, but there is extra heap afterwards. The I removed the DragSource and tried again, resulting in a lot less extra memory. I'm not up-to-par yet analysing heap dumps in chrome, but maybe you an shed a light on what would 'leak' if a Component is replace by Ajax?
Hi Rob,
does this happen regardless of any DnD? I.e. is it sufficient to replace markup containing a DragSource, or do you have to drag something before?
Sven
I've tried with wicket-dnd-examples: Each click on one of the checkboxes updates markup with a DragSource and DropTarget.
With Chrome's memory tools I didn't notice any leaks.