Closed Bug 970002 Opened 10 years ago Closed 10 years ago

[OMTC] Browser eats all RAM on http://lab.hakim.se/linjer/#diagonal

Categories

(Core :: Graphics: Layers, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: mayankleoboy1, Assigned: nical)

References

()

Details

(Keywords: crash, regression)

Attachments

(2 files)

Attached file memory-report.json.gz
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:30.0) Gecko/20100101 Firefox/30.0 (Beta/Release)
Build ID: 20140208030207

Steps to reproduce:

1. Create new profile
2. Enable OMTC
3. Go to http://lab.hakim.se/linjer/#diagonal
4. Add some nodes to the demo.
5. Watch memory usage. It continously increases, finally reaching ~2.6GB,  at which point the browser crashes.

I stopeed the demo at ~2.2GB , and opened a about:memory page. I clicked reduce memory 4-5 times. The memory use did not decreae, the browser still used ~2.2 GB.


Actual results:

RAM use continously grows, and eventually the browser will crash


Expected results:

no crash.

FYI, this demo is much smoother in Nightly, than on Chrome34. So great work guys!
Attached file about support.txt
Blocks: 899785
Status: UNCONFIRMED → NEW
Ever confirmed: true
Regression window with force layers.offmainthreadcomposition.enabled = true

Regression window(m-c)
Good:
http://hg.mozilla.org/mozilla-central/rev/f5b6b5523719
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0 ID:20131003073923
Bad:
http://hg.mozilla.org/mozilla-central/rev/51b36c5fd45f
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0 ID:20131003080100
Pushlog:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=f5b6b5523719&tochange=51b36c5fd45f


Regression window(m-i)
Good:
http://hg.mozilla.org/integration/mozilla-inbound/rev/3cf52700118c
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0 ID:20131002135314
Bad:
http://hg.mozilla.org/integration/mozilla-inbound/rev/477781ec7d38
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0 ID:20131002135412
Pushlog:
http://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=3cf52700118c&tochange=477781ec7d38
Regressed by:
477781ec7d38	Nicolas Silva — Bug 916118 - Simplify the TextureClient deallocation protocol. r=nrc
Blocks: 916118
Keywords: regression
Nicolas, please have a look at this.
Assignee: nobody → nical.bugzilla
Flags: needinfo?(nical.bugzilla)
(In reply to Bas Schouten (:bas.schouten) from comment #4)
> Nicolas, please have a look at this.

yup.
Two gigs of MemoryTextureClient, sounds pretty bad!
Flags: needinfo?(nical.bugzilla)
We don't ship on windows with OMTC enabled yet so the different releases are not "affected".
FWIW, this doesnt reproduce for me anymore on the latest Nightly
(In reply to mayankleoboy1 from comment #7)
> FWIW, this doesnt reproduce for me anymore on the latest Nightly

Ok great, We have been making a lot of changes around windows OMTC lately so this probably got fixed in the mix. I'll close this bug as I haven't been able to reproduce either. Also, the canvas-related OMTC code paths will certainly go through a lot more changes before we can ship OMTC on windows.

Feel free to reopen if this bug shows up again.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: