Skip to main content

Bug Tracker

Side navigation

#6802 closed bug (duplicate)

Opened July 19, 2010 12:40PM UTC

Closed October 11, 2010 03:26AM UTC

IE Memory leak with ajax

Reported by: pascal Owned by:
Priority: undecided Milestone: 1.4.3
Component: ajax Version: 1.4.2
Keywords: Cc:
Blocked by: Blocking:

When I test the code below, i have a memory leak with IE8 (350 KB / 10 min). The file heure.php is a simple 'echo date("d/m/Y - H:i:s");'

<!DOCTYPE html PUBLIC "-W3CDTD XHTML 1.0 TransitionalEN" "">

<html xmlns="" xml:lang="fr" >


<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

<script type="text/javascript" src="js/jquery-1.4.2.js"></script>

<script type="text/javascript">

function Heure(){



{action: "test"},

function(data) {

document.getElementById("test").innerHTML = data;





setInterval(Heure, 1000);




<div id="test" ></div>



Attachments (0)
Change History (3)

Changed July 20, 2010 12:25PM UTC by pascal comment:1

It is possible to reduce the leak :

  • not using anonymous function in the $.post(). (thanks to the irc channel of prototype ;-) )

But there is still a memory leak.

Changed October 04, 2010 02:29PM UTC by cobexer comment:2

duplicate of ?

the proposed change in #6242 fixed the memory leak for me

Changed October 11, 2010 03:26AM UTC by dmethvin comment:3

priority: → undecided
resolution: → duplicate
status: newclosed

Dup of #6242.