#115 ✓resolved
Jake Archibald

net: Possible IE memory leak with xhr

Reported by Jake Archibald | September 8th, 2009 @ 08:09 AM | in 1.7

http://www.jakearchibald.co.uk/jsperformance/closurememory/2.html

I did some experiments with XHR and turns out IE leaks cross page if onreadystatechange isn't set to an empty function after use. I don't think we do this cleanup, but this needs confirming.

Basically, stick a massive string outside the onreadystatechange listener in glow.net and call glow.net.get/post on an interval and see if memory creeps up (basically a glow-specific version of my test above). If it leaks, plug the leak.

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 ยป

A JavaScript Library

Shared Ticket Bins

People watching this ticket

Tags

Pages