Skip to main content

Bug Tracker

Side navigation

#14733 closed bug (invalid)

Opened January 27, 2014 12:06PM UTC

Closed April 29, 2014 08:51AM UTC

Ajax memory leak

Reported by: bmwmatrix@hotmail.com Owned by: bmwmatrix@hotmail.com
Priority: undecided Milestone: None
Component: unfiled Version: 1.11.0-rc1
Keywords: Cc:
Blocked by: Blocking:
Description

I use simple function that refresh a div every 5 second.

	setInterval(function(){
						 
		var route = document.location;
		$.post(route, "refresh=1", function(data) {
			var html = $(data);
			$("#Div1").replaceWith(("#Div1", html));
		});
	
	},5000);

Browser memory usage jumps insanely, tested this on FireFox and Chrome.

I use jquery 1.10.2

Please help

Attachments (0)
Change History (2)

Changed April 14, 2014 02:34PM UTC by dmethvin comment:1

owner: → bmwmatrix@hotmail.com
status: newpending

Can you provide a full test case using jsfiddle or jsbin? Thanks.

Changed April 29, 2014 08:51AM UTC by trac-o-bot comment:2

resolution: → invalid
status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!