General Interface is an open source project hosted by the Dojo Foundation

HTTP Request memory leak?

HTTP Request memory leak?

Postby wgrupa » Thu Mar 01, 2012 12:33 pm

I am sending synch request to a web service which returns 1Mb xml document. I do nothing with the doc (just trying to isolate the leak, and it seems that this request is a good candidate) so the code looks like this:

var req = new jsx3.net.Request();

req.open("GET", MY URL HERE, false);
req.send("", 5000);

After each such a call I am left with about 10 MB allocated by FX and never released. There is and action in my app which sends multiple requests like this, so you can imagine how quickly FX gets unresponsive. Any ideas what to do?
wgrupa
 
Posts: 1
Joined: Thu Mar 01, 2012 12:23 pm

Re: HTTP Request memory leak?

Postby dhwang » Thu Mar 08, 2012 1:34 pm

What's the reply you're getting from the send request? Status?

Do you have a test case?

I can't reproduce
User avatar
dhwang (Darren Hwang)
GI Committer
GI Committer
 
Posts: 706
Joined: Thu Jun 04, 2009 10:09 am
Location: Palo Alto


Return to GI Developers

Who is online

Users browsing this forum: No registered users and 3 guests

cron