Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ajax-replacing a element that is a DnD DragSource seems to leak memory? #22

Open
d2a-raudenaerde opened this issue Mar 16, 2018 · 2 comments

Comments

@d2a-raudenaerde
Copy link

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?

@svenmeier
Copy link
Owner

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

@svenmeier
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants