#528 ✓ duplicate
Nick Stakenburg

Huge Event Memory Leak in IE

Reported by Nick Stakenburg | January 24th, 2009 @ 02:44 PM

After someone mentioned that my Prototip website leaked 2MB of memory on every page refresh I decided to look into the problem with Microsoft's Memory Leak detection tool.

It showed event wrappers created by Prototype with _prototypeEventID's attached to them as the source of the leaks. Turns out destroyCache is not cleaning up properly.

alt text

The leak is also visible on the unit test pages.

Justin fixed the problem by modifying destroyCache to clean up behind itself. Just dropping this here so it won't be overlooked. A patch and more info on the leak is available on the mailing list:

http://groups.google.com/group/p...

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

The Prototype JavaScript library.

Shared Ticket Bins

Referenced by

Pages