Closed
Bug 1454473
Opened 7 years ago
Closed 6 years ago
ghost-windows wasm
Categories
(Firefox :: Untriaged, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: mozilla_org, Unassigned, NeedInfo)
References
(Blocks 1 open bug)
Details
(Whiteboard: [MemShrink])
Attachments
(2 files)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0 Build ID: 20180327223059 Steps to reproduce: Play a game? (maybe few times go previous page and back to latest while playing) :) https://www.war-attack.com/Game/index.php (btw, hava a nice play) Actual results: Ghost-windows with high (1.6GB of memory used) 3 (100.0%) -- ghost-windows ├──2 (66.67%) ── https://www.war-attack.com/Game/index.php [2] └──1 (33.33%) ── https://rokawar.itch.io/war-attack 1,604.21 MB (100.0%) -- explicit ├────923.20 MB (57.55%) -- window-objects │ ├──902.53 MB (56.26%) -- top(none)/ghost │ │ ├──900.62 MB (56.14%) -- window(https://www.war-attack.com/Game/index.php) │ │ │ ├──900.55 MB (56.14%) -- js-compartment(https://www.war-attack.com/Game/index.php) │ │ │ │ ├──900.12 MB (56.11%) -- classes │ │ │ │ │ ├──603.84 MB (37.64%) -- class(ArrayBuffer)/objects │ │ │ │ │ │ ├──544.00 MB (33.91%) ── non-heap/elements/wasm [2] │ │ │ │ │ │ ├───59.84 MB (03.73%) ── malloc-heap/elements/normal [2] │ │ │ │ │ │ └────0.00 MB (00.00%) ── gc-heap [2] │ │ │ │ │ ├──290.94 MB (18.14%) -- class(WebAssembly.Instance)/objects │ │ │ │ │ │ ├──171.50 MB (10.69%) ── non-heap/code/wasm [2] │ │ │ │ │ │ ├──119.44 MB (07.45%) ── malloc-heap/misc [2] │ │ │ │ │ │ └────0.00 MB (00.00%) ── gc-heap [2] │ │ │ │ │ └────5.33 MB (00.33%) ++ (9 tiny) │ │ │ │ └────0.44 MB (00.03%) ++ (5 tiny) │ │ │ └────0.07 MB (00.00%) ++ (3 tiny) │ │ └────1.91 MB (00.12%) ++ window(https://rokawar.itch.io/war-attack) │ └───20.67 MB (01.29%) ++ (2 tiny) ├────386.68 MB (24.10%) ── heap-unclassified ├────170.54 MB (10.63%) -- heap-overhead │ ├──155.10 MB (09.67%) ── bin-unused │ └───15.45 MB (00.96%) ++ (2 tiny) ├─────59.84 MB (03.73%) -- js-non-window │ ├──42.80 MB (02.67%) -- zones │ │ ├──32.23 MB (02.01%) ++ zone(0x7f7482663000) │ │ └──10.58 MB (00.66%) ++ (6 tiny) │ └──17.04 MB (01.06%) ++ (2 tiny) ├─────37.98 MB (02.37%) -- webaudio │ ├──37.60 MB (02.34%) ── audiobuffer │ └───0.38 MB (00.02%) ++ (2 tiny) └─────25.97 MB (01.62%) ++ (20 tiny) Expected results: After closing tab, all memory for it purged.
Comment 1•7 years ago
|
||
Hi erahm, comment or suggestion on this memory report? Thanks
Flags: needinfo?(erahm)
Updated•7 years ago
|
Whiteboard: [MemShrink]
Updated•6 years ago
|
Blocks: GhostWindows
Comment 2•6 years ago
|
||
The first step here would be to find some good steps to reproduce this issue, then see if it reproduces on Nightly. I fixed one issue like this recently, but I can't say if this is the same thing without more information.
Comment 4•6 years ago
|
||
I'm unable to reproduce this on the latest OSX nightly. Can you reproduce on the latest version of Firefox?
Flags: needinfo?(erahm) → needinfo?(mozilla_org)
Comment 5•6 years ago
|
||
I see around 832MB of memory usage on Ubuntu 16.04 64 bits with the latest nightly. I do not see a ghost-windows in this report. Is this a normal (expected) memory usage for such games? Explicit Allocations 832.59 MB (100.0%) -- explicit ├──421.29 MB (50.60%) -- window-objects/top(https://www.war-attack.com/index.php?page=Game, id=12884901889) │ ├──416.06 MB (49.97%) -- active │ │ ├──408.32 MB (49.04%) -- window(https://www.war-attack.com/Game/index.php#Nothing) │ │ │ ├──408.16 MB (49.02%) -- js-realm(https://www.war-attack.com/Game/index.php, about:blank) │ │ │ │ ├──406.80 MB (48.86%) -- classes │ │ │ │ │ ├──304.07 MB (36.52%) -- class(ArrayBuffer)/objects │ │ │ │ │ │ ├──272.00 MB (32.67%) ── non-heap/elements/wasm │ │ │ │ │ │ ├───32.05 MB (03.85%) ── malloc-heap/elements/normal │ │ │ │ │ │ └────0.02 MB (00.00%) ── gc-heap │ │ │ │ │ ├──100.81 MB (12.11%) -- class(WebAssembly.Instance)/objects │ │ │ │ │ │ ├───67.06 MB (08.05%) ── non-heap/code/wasm │ │ │ │ │ │ ├───33.75 MB (04.05%) ── malloc-heap/misc │ │ │ │ │ │ └────0.00 MB (00.00%) ── gc-heap │ │ │ │ │ └────1.91 MB (00.23%) ++ (11 tiny) │ │ │ │ └────1.36 MB (00.16%) ++ (8 tiny) │ │ │ └────0.16 MB (00.02%) ++ (4 tiny) │ │ └────7.74 MB (00.93%) ++ (5 tiny) │ └────5.23 MB (00.63%) ++ js-zone(0x7f7ece90a000) ├──339.35 MB (40.76%) ── heap-unclassified ├───19.12 MB (02.30%) -- images/content │ ├──13.31 MB (01.60%) ++ raster/used │ └───5.81 MB (00.70%) ++ vector/used ├───17.10 MB (02.05%) -- heap-overhead │ ├──13.10 MB (01.57%) ── bin-unused │ └───4.01 MB (00.48%) ++ (2 tiny) ├───14.53 MB (01.74%) -- workers/workers(war-attack.com)/worker(blob:https://www.war-attack.com/83579aba-de32-4135-87a2-8804f7c11669, 0x7f7ec57df800) │ ├──13.15 MB (01.58%) -- zone(0x7f7ec5460000) │ │ ├──12.85 MB (01.54%) -- realm(web-worker) │ │ │ ├──12.72 MB (01.53%) -- classes │ │ │ │ ├──12.59 MB (01.51%) -- class(ArrayBuffer)/objects │ │ │ │ │ ├──12.59 MB (01.51%) ── malloc-heap/elements/normal │ │ │ │ │ └───0.00 MB (00.00%) ── gc-heap │ │ │ │ └───0.14 MB (00.02%) ++ (2 tiny) │ │ │ └───0.13 MB (00.02%) ++ (6 tiny) │ │ └───0.30 MB (00.04%) ++ (7 tiny) │ └───1.38 MB (00.17%) ++ (3 tiny) ├───13.80 MB (01.66%) ++ js-non-window └────7.40 MB (00.89%) ++ (21 tiny)
Updated•6 years ago
|
Flags: needinfo?(erahm)
Comment 6•6 years ago
|
||
(In reply to Abe - QA (:Abe_LV) from comment #5) > Created attachment 8982369 [details] > memory-report.json.gz > > I see around 832MB of memory usage on Ubuntu 16.04 64 bits with the latest > nightly. I do not see a ghost-windows in this report. > > Is this a normal (expected) memory usage for such games? It's using wasm, so yes. Lets close this for now as we can't repro the original issue. kolorafa, please feel free to reopen if you can reproduce the issue.
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Flags: needinfo?(erahm)
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•