Simon Willison’s Weblog

Subscribe
Atom feed for memoreleaks

1 item tagged “memoreleaks”

2009

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”.

# 28th July 2009, 12:46 pm / jsonp, neilfraser, javascript, memoreleaks