[webkit-dev] XMLHttpRequest memoryleak

Patrick Roland Gansterer paroga at paroga.com
Wed Jun 2 06:55:03 PDT 2010


Hi,

I think WebKit (with JSC) leaks memory for every XMLHttpRequest and I need
to fix this problem.
Can somebody give me a hint where I should start?

My testpage (http://paroga.com/webkit/memory.htm) only creates a request
every second. 
Safari on windows "leaks" about 60KB/minute. QtBrowser on WinCE needs
about 4KB/minute.

I don't think that my values are correct, because of the garbage
collector.
Is there any easy way to dump a list of all used javascript objects (and
references)?
Can I trigger the GarbageCollecter manually to get the real memory usage?

Maybe related bugs:
https://bugs.webkit.org/show_bug.cgi?id=17534
https://bugs.webkit.org/show_bug.cgi?id=27041

- Patrick


More information about the webkit-dev mailing list