Status: New
Owner: ----

New issue 2534 by [email protected]: mega.co.nz large file transfers: GC never runs due to constant activity
http://code.google.com/p/v8/issues/detail?id=2534

(Copying bug from Chromium bug tracker: https://code.google.com/p/chromium/issues/detail?id=175233)

UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.57 Safari/537.17

Steps to reproduce the problem:
1. Upload a multi-GB file to https://mega.co.nz
2.
3.

What is the expected behavior?
The garbage collector should be invoked periodically, and the upload should complete (as it does with IE10, Safari 6 and Firefox).

What went wrong?
It seems that the GC never runs when there is activity in a tab. In the case of JS-driven file transfers (FileReader+XMLHttpRequest), this strategy proves to be fatal, as large ephemeral memory blocks are constantly allocated and need to be freed quickly.

Eventually, when the tab's memory consumption exceeds 1.2-1.5 GB, it chokes and crashes.

Did this work before? No

Chrome version: 24.0.1312.57  Channel: stable
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)

Making window.gc() generally available would be a trivial solution.

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to