List, I'm not sure if I have this problem or how to verify it but I am having a lot of browser freeze ups with my testing.
I am getting this with 2.5 loaded on my server and whatever is the most recent online version. Is there any update on this? Cheers, Brad Spencer -----Original Message----- From: Christopher Schmidt [mailto:[EMAIL PROTECTED] Sent: Wednesday, 28 March 2007 1:49 AM To: [EMAIL PROTECTED] Subject: [OpenLayers-Dev] Memory Leak in OpenLayers + IE So, after some investigation this morning, I've discovered a source of a memory leak in Internet Explorer + OpenLayers: Currently, when creating Tile.Image images, we bind a load/error listener: OpenLayers.Event.observe(image, "load", OpenLayers.Util.onImageLoad.bindAsEventListener(image)); OpenLayers.Event.observe(image, "error", OpenLayers.Util.onImageLoadError.bindAsEventListener(image)); (Util.js, line ~180) This is how we prevent tiles from displaying in the wrong location. Unfortunately, this closure on the image is never cleaned up, so IE doesn't destroy the images, even when the page is navigated away from, resulting in a memory leak. No fix yet, just documenting this so that if anyone has an obvious 'oh, just do $foo', they can feel free to offer it up :) Regards, -- Christopher Schmidt MetaCarta _______________________________________________ Dev mailing list [EMAIL PROTECTED] http://openlayers.org/mailman/listinfo/dev _______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users