Feed Sign in with OpenID OpenID

Simon Willison’s Weblog

JSONP Memory Leak. Neil Fraser advocates iterating over and deleting every property on a JSONP script DOM node after you removeChild it from the DOM, to protect against memory leaks of “in excess of 15 MB per hour”.

Tagged , , ,

2 comments

  1. This is the first I've heard of a JSONP-related leak in Gecko. Is there a bug filed?

    Jesse Ruderman - 28th July 2009 22:16 - #

  2. Would a better option not be to reuse the script tags?

    Graham Bradley - 29th July 2009 13:11 - #

Comments are closed.
A django site