Creating context menu items costs way too much memory

RESOLVED DUPLICATE of bug 687777

Status

Add-on SDK
General
RESOLVED DUPLICATE of bug 687777
6 years ago
6 years ago

People

(Reporter: Gabor Krizsanits (INACTIVE), Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

6 years ago
Created attachment 564146 [details]
original bug report emails

This bug was reported originally by Dave Teare see emails in the attachment.

I tried out the example, and the memory usage goes up quite rapidly indeed by opening new tabs. Opening new tabs does not load new modules, so there are no new compartments created so merging the compartments will not solve this issue. (there are 50 compartments or so for the first so applying the compartment merge patch here save some megs).

I will check how are context menus created and why are they taking up so much memory.
(Reporter)

Comment 1

6 years ago
Created attachment 564147 [details]
code for the example addon
Bug 687777 has more on this.
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 687777
You need to log in before you can comment on or make changes to this bug.