Chrome crashes when sending large amount of data from web worker to main thread
Reported by
dshresth...@gmail.com,
Sep 8 2016
|
|
Issue descriptionChrome Version : 53.0.2785.101 m (64-bit) URLs (if applicable) : https://jsfiddle.net/21fnf1uj/5/ Other browsers tested: Add OK or FAIL, along with the version, after other browsers where you have tested this issue: Safari: OK Firefox: OK IE: OK What steps will reproduce the problem? (1) Open https://jsfiddle.net/21fnf1uj/5/ and hit start. This issue is reproducible more easily in Windows than on Mac. This will start sending 10 message / sec to a web worker. The webworker responds with 100M float32Array. The response is simply discarded by the main thread. What is the expected result? It should continue to print "Sending 10 messages to web worker" indefinitely. What happens instead? You should see "Aw Snap" screen. Please provide any additional information below. Attach a screenshot if possible. Chrome Canary prints a messaging saying javascript ran out of memory. When I profile the heap, javascript heap never grows above 17MB. |
|
►
Sign in to add a comment |
|
Comment 1 by jsb...@chromium.org
, Sep 8 2016Status: Duplicate (was: Unconfirmed)