Well unfortunately there is a 1MB leak in IE7 when you run the
event_test on the latest version of prototype. Since there is
significant changes in this version compared to the publicly available version, I am guessing you guys are getting close to releasing

FWIW, I took the checked out version (still labeled and made
the following changes to _destroyCache:

function _destroyCache() {
-    for (var i = 0, length = CACHE.length; i < length; i++)
+    for (var i = 0, length = CACHE.length; i < length; i++){
+      CACHE[i] = null;
+    }
+    for (var element in Element.cache) Element.cache[element] = null;

And a re-ran my tests and guess what? No memory leak. Wonderful except
that it looks like a lot of the Event stuff has been re-written so
applying these changes to the publicly available version is
not completely straight-forward. I am still working on patching mine
but should have an update tomorrow by midday.

You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to