Here's a small sample page that seems to leak in the same way as
jQuery:
<html><head><script type="text/javascript">
function leakMe() {
var div = document.createElement("div");
document.body.appendChild(div);
document.body.removeChild(div);
}
</script></head><body onload="leakMe();"></body></html>
The docs for Drip say that removeChild is just a psuedo-leak and will
be cleaned up when the page is unloaded, but that doesn't happen. If
you set the above page to Auto-refresh in Drip, memory usage just goes
up and up forever. If you can find a way to stop that happening in the
small sample, I suspect fixing jQuery will be easy.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---