[email protected] wrote:
Hi,

I wonder if some of you could help me with this. The following request increases memory usage on each request:

<html>
<body>
<script type="text/javascript">
var xmlHttp=new XMLHttpRequest();

var i = 0;
function test() {
        xmlHttp.open("GET","mem_test.htm?" + (i++), false);
        xmlHttp.send(null);
    setTimeout(test,10);
}

test();
</script>
Test
</body>
</html>
...

(posting again, first response didn't seem to go through)

I was able to reproduce this, I think, on Mac. I was able to defeat the memory growth by adding a

    delete xmlHttp;

after the xmlHttp.send(null);

--
Patrick Mueller - http://muellerware.org

_______________________________________________
webkit-help mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-help

Reply via email to