should i run a script that delete all objects in a page when user closes it, to free up memory? thx
What kind of an answer is that? Browser garbage collection sucks!
Apr 5th, 2008 19:32
ha mo, b w, Colin Fraser, ric wong, Donkey,
Memory resources are browser and operating system issues, not
If your script takes up enough RAM that delay in garbage collection from
the browser is significant, then you should redesign your script, not
try to apply half-assed patches that clean up the mess it makes.
Especially that reliably launching this kind of script is
near-impossible because onUnload event happens only under quite lucky