You will recieve your password to this address. Address is not made public.

Your preferred username that is used when logging in.

memory leak w/ lots of tooltips Created Oct 17, 2009

This thread is solved

Views: 622     Replies: 1     Last reply Oct 22, 2009  
You must login first before you can use this feature

brandon.thomson

Posts: 1

Registered:
Oct 17, 2009

memory leak w/ lots of tooltips

Posted: Oct 17, 2009

I noticed there is a memory leak in at least Chrome and Firefox when creating lots of tooltips (my app was creating about 200 every 10 sec) and then removing the trigger elements they are attached to from the dom. I think the tooltips should probably be disposed of automatically when the trigger element is removed from the dom, but the library doesn't seem to provide any manual way to dispose of the tooltips, either. This is problematic for a long-running application that changes tooltips frequently. For example, Google chrome will fail the tab after the javascript heap gets too big (500mb+).

I've since gone back to the tooltip plugin fromhttp://jquery.bassistance.de/tooltip/demo/ which doesn't appear to have this problem, but I just wanted to let you know about it.

Warm regards and thank you for the delightful library,
Brandon

ceberlin

Posts: 1

Registered:
Oct 22, 2009

Same here

Posted: Oct 22, 2009

Reply to: memory leak w/ lots of tooltips, from brandon.thomson
My example page:
http://www.ullewaeh.de/next/n-P-Allg/Kindergartenbedarf-d.php

It is very unpredictable when a tooltip shows.
Sometimes it does not appear at all, sometimes it appears and hides right away althought I am still hovering the element.

Kind regards
carl