[webkit-dev] XMLHttpRequest memoryleak
Patrick Roland Gansterer
paroga at paroga.com
Wed Jun 2 10:33:28 PDT 2010
On Wed, 02 Jun 2010 10:07:59 -0700, Alexey Proskuryakov <ap at webkit.org>
wrote:
> 02.06.2010, в 6:55, Patrick Roland Gansterer написал(а):
>
>> 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?
>
>
> I don't think this has been fully investigated, but the current theory
> is that the memory is used by Safari Activity window, see
> <https://bugs.webkit.org/show_bug.cgi?id=17534>.
How can I do further investigations? Where is the best point to start in
the source code?
I don't undersand why WebKit needs additional memory for every
XMLHttpRequest. What is the memory used for?
Mike Marchywka:
> I guess I would ask if you can empirically relate your test pages
> to a memory leak- can you say that simple html lacking javascript
> is leak free? Can you generally isolate the leak to JS?
The leak occurs only when I use the XMLHttpRequest. E.g. a setTimeout
seams to cost no memory.
> Can you or do you have any info on page faults?
Safari.exe has about 300.000 page faults.
- Patrick
More information about the webkit-dev
mailing list