RESOLVED WORKSFORME 20124
memory leak
https://bugs.webkit.org/show_bug.cgi?id=20124
Summary memory leak
bugzilla33
Reported 2008-07-21 03:28:50 PDT
Memory leak<br><br> 1. Run with IE 7, FF 3 or Opera 9.5<br> Constant browser memory usage<br><br> 2. Run with Safari 4 (526.12.2) (windows xp sp3)<br> Browser memory usage increase very fast (proportional to time)<br> <script> x=[] z=100000;while(z--)x.push([]) function run(){ var a,b,c,d,e,f,g,h,n n=5000;while(n--){ a=[] b=[] c=[] d=[] e=[] f=[] g=[] h=[] } setTimeout(function(){run()},0) } run() </script>
Attachments
memory leak (490 bytes, text/html)
2008-07-21 03:29 PDT, bugzilla33
no flags
screenshot (71.42 KB, image/png)
2008-07-21 12:34 PDT, bugzilla33
no flags
bugzilla33
Comment 1 2008-07-21 03:29:58 PDT
Created attachment 22400 [details] memory leak
Mark Rowe (bdash)
Comment 2 2008-07-21 10:46:46 PDT
I cannot reproduce this with a recent build on the Mac.
bugzilla33
Comment 3 2008-07-21 12:34:51 PDT
Created attachment 22414 [details] screenshot look at the screenshot
Geoffrey Garen
Comment 4 2008-07-21 16:08:43 PDT
Lena was able to reproduce this with a recent build on Windows: working set - 35, 400K to 1,997,992K private working set - 20, 300LK to 1,982,344K Looks like the problem is Windows-only.
Geoffrey Garen
Comment 5 2008-07-21 16:09:31 PDT
Sam Weinig
Comment 6 2009-04-07 15:40:31 PDT
This is fixed in ToT.
Note You need to log in before you can comment on or make changes to this bug.