Recently, I came across one of my application which consumes too much memory and increasing by 10 MB/sec.
So, I like to know the best way to destroy JavaScript objec
I was facing a problem like this, and had the idea of simply changing the innerHTML of the problematic object's children.
adiv.innerHTML = " the original html that js uses
Seems dirty, but it saved my life, as it works!