In a large web-app I'm currently working on the main content view is an iframe element with large jsp generated pages inside. I know using the iframe is not the best idea, but that's a constraint we have to deal with at the moment.
I noticed IE8 is consuming a large amount of memory over time and after a little investigation found its a known issue: Is it possible to use iframes in IE without memory leaks?
the semi-solution posted there states that purging the iframe before removing it might help.
my question is what is a better practice: destroying the iframe on each view (with purging/without), or changing its src attr? will I have the same memory-leak?