Open Bug 987799 Opened 10 years ago Updated 2 years ago

Huge memory leak after terminating a web worker

Categories

(Core :: DOM: Workers, defect, P5)

29 Branch
x86_64
Windows 7
defect

Tracking

()

UNCONFIRMED

People

(Reporter: omriyariv, Unassigned)

Details

Attachments

(1 file)

39.27 KB, application/zip
Details
Attached file test.zip
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.154 Safari/537.36

Steps to reproduce:

1. Load a very big file (15MB should do) into a web worker. The script can be just a function definition. Example here: https://www.dropbox.com/s/09b4d60d4c0i5dr/test.js
2. Terminate the worker.


Actual results:

The process memory increases in about 10MB. Doing this repeatedly will eventually crash the browser.


Expected results:

The memory that the worker took should be freed after terminating the worker.
Can you reproduce this on the latest Nightly using a clean profile?
Clean profile - https://support.mozilla.org/en-US/kb/profile-manager-create-and-remove-firefox-profiles
latest Nightly - http://nightly.mozilla.org/
Flags: needinfo?(omriyariv)
Not reproducible with a clean profile. I now suspect this is a Firebug related issue. Thanks for the directions!
Flags: needinfo?(omriyariv)
Component: Untriaged → DOM: Workers
Product: Firefox → Core
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: