Skip to main content

Bug Tracker

Side navigation

#10013 closed bug (invalid)

Opened August 10, 2011 03:03PM UTC

Closed September 14, 2011 08:11AM UTC

Memory leaks about 4 or 8kB on each ajax call.

Reported by: christophorus Owned by: christophorus
Priority: undecided Milestone: None
Component: ajax Version: 1.6.2
Keywords: Cc:
Blocked by: Blocking:

On all browsers (Opera, IE, FF, Chrome) I have observed the memory leaks about 4 or 8kB on each ajax call. The php returns proper simple json text.

Working sample:

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

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



<script type="text/javascript" src="jquery_ui/js/jquery1.6.2.js"></script>




var s = function(){


var f = function(){


var t = function(){


type: "POST",

data: '',

async: true,

url: "",

dataType: "json",

timeout: 10000,

cache: false,

success: s,

error: f







Thank you for assistance.


Attachments (0)
Change History (10)

Changed August 10, 2011 04:24PM UTC by rwaldron comment:1

component: unfiledajax
owner: → christophorus
status: newpending

Thanks for taking the time to contribute to the jQuery project! Please provide a complete reduced test case on jsFiddle to help us assess your ticket!

Additionally, be sure to test against the jQuery Edge version to ensure the issue still exists. To get you started, use this boilerplate:

Open the link and click to "Fork" (in the top menu) to get started.

Changed August 10, 2011 04:29PM UTC by rwaldron comment:2

Additionally, what tools or methods are you using to observe these "leaks". I just took 6 heap snapshots, one per request over 6 requests and the heaps are all the same

Changed August 11, 2011 07:43AM UTC by christophorus comment:3

status: pendingnew

Replying to [comment:2 rwaldron]:

I have used the resource monitor (on Windows platform). I left the endless loop for 1 hour and comparing amount memory before and after. This is very strange for me, since nobody reported the same issue.

Changed August 18, 2011 05:15PM UTC by dmethvin comment:4

#10044 is a duplicate of this ticket.

Changed August 18, 2011 05:17PM UTC by dmethvin comment:5

Unverified test case:

Changed August 18, 2011 05:20PM UTC by dmethvin comment:6

status: newpending

I am not seeing a leak with that test case. christophorus, can you verify that and perhaps try to change that test case so that it leaks?

Changed August 22, 2011 03:05PM UTC by christophorus comment:7

status: pendingnew

Thank you for the test. I made following test: your case on Chrome(last), FF(6) and IE(9), and the result is that memory is (in my opinion) on Chrome and FF but not using IE.9. I made this test on Vista(32). Please make me advice how I can proceed now. BTW. my case doesn't leak on IE(9) as well.

Changed August 27, 2011 08:23PM UTC by dmethvin comment:8

status: newpending

Did you mean to attach a link to a test case?

Changed August 31, 2011 12:29AM UTC by andresclari comment:9

I can confirm the bug with @dmethvin test case on FF 6

Changed September 14, 2011 08:11AM UTC by trac-o-bot comment:10

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!