JQuery's implementation of the XMLHttpRequest (XHR) object inside of the jQuery.ajax()
function appears to leak memory, through the browser keeping an internal reference to the XHR. This subsequentially manifests itself inside of the jQuery getJSON() and post() functions. These functions have to be repeatedly used thousands of times before any significant amount of leaked memory begins to add up.
To fix this, in some circumstances, we can rewrite the functions to recycle the same XHR object (or a set of XHR objects).