[Webkit-unassigned] [Bug 13595] Repeatedly accessing XHR.responseText on a large file (70MB) causes memory usage to baloon

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 16 15:49:51 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=13595


ggaren at apple.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|When loading a big file     |Repeatedly accessing
                   |(70MB) using XHR, memory    |XHR.responseText on a large
                   |usage shoots up dramatically|file (70MB) causes memory
                   |                            |usage to baloon




------- Comment #5 from ggaren at apple.com  2007-07-16 15:49 PDT -------
In particular, it looks like the problem is caused by this line
               var currentLength = xhr.responseText.length;
which causes the network data to be serialized to text every time a new chunk
arrives.

Is there a real website that uses this technique?


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list