I have used an iframe which looks like this:
window.frames['iframeId'].document.location.href =...
has memory leakage too. The effect is more renounced in IE browsers.