Comment #2 on issue 9765 by mthuurne: Unlimited memory consumption with  
XMLHttpRequest
http://code.google.com/p/chromium/issues/detail?id=9765

It seems that these are actually two separate issues:
1) a bit of memory is permanently lost for each created XMLHttpRequest  
object
2) a lot of memory is permanently lost when importing the root node of  
responseXML
into the page's document

I worked around problem 1) by reusing the same XMLHttpRequest object for  
all requests.

Problem 2) can be worked around by recursively importing nodes by creating  
copies
with document.createElement() etc. instead of using document.importNode().  
A routine
like that is needed anyway to compensate for IE7's lack of an importNode()  
method.


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs
-~----------~----~----~----~------~----~------~--~---

Reply via email to