Skip to content

Bug report for Firefox throwing an OOM when exercising "transferables" (ArrayBuffers that are supposedly moved into a worker's address space)

Notifications You must be signed in to change notification settings

sbalko/firefox-transferables-oom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

firefox-transferables-oom

This small example project does provoke the OOM issue in Firefox. In order to run it, first do an:

sudo npm install -g gulp

in order to install the gulp build tool globally (if you don't have it there already). Then cd into the firefox-transferables-oom directory and run:

npm init

to install the dependencies. Finally, launch a local webserver (port 9000) that hosts the example code by typing in:

gulp webserver

Then open a new Firefox tab, open the development tools panel and go to http://localhost:9000.

The code will spawn a worker and bounce some messages to the worker and back, where each message contains a moderately sized ArrayBuffer (32MB). After a few bounces, Firefox will throw an OOM exception, whereas all other workers will indefinitely bounce the ArrayBuffer back and forth.

About

Bug report for Firefox throwing an OOM when exercising "transferables" (ArrayBuffers that are supposedly moved into a worker's address space)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published