Zooming in on a certain pdf consumes a huge amount of memory and causes the browser(incl. PC) to hang
Categories
(Firefox :: PDF Viewer, defect, P1)
Tracking
()
People
(Reporter: alice0775, Assigned: bdahl)
References
(Regression)
Details
(Keywords: hang, memory-footprint, regression)
Attachments
(5 files)
STEPS to Reproduce:
- Open https://www.sony.jp/products/catalog/BD_DVDrecorder_news.pdf
- Click
+
button of the PDF viewer several times.
Actual results:
Consumes a large amount of memory.
Browser (including PC) hangs.
Expected results:
It should use less memory.
Reporter | ||
Comment 1•3 years ago
|
||
Reporter | ||
Comment 2•3 years ago
•
|
||
When switch to other tab, memory usage will decrease immediately.
So, it difficult to get memory report from use about:memory.
Reporter | ||
Comment 3•3 years ago
|
||
The problem does not occue in Firefox78esr and Firefox89.
Comment 4•3 years ago
|
||
:alice0775, could you try to find a regression range using for example mozregression?
Reporter | ||
Comment 5•3 years ago
|
||
[Tracking Requested - why for this release]: unsable pdf viewer due to memory consumption and PB hang
Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=5c402eaa028455bb2c837bb0068741f43d566787&tochange=1a154c35b1b1673c4e9f79c0f38c3d12daa71a6b
Comment 6•3 years ago
|
||
Maybe a duplicate of bug 1721218.
Updated•3 years ago
|
Comment 7•3 years ago
|
||
Bug 1721218 was fixed. Alice, can you test again with latest Nightly?
Reporter | ||
Comment 8•3 years ago
|
||
(In reply to Marco Castelluccio [:marco] from comment #7)
Bug 1721218 was fixed. Alice, can you test again with latest Nightly?
No, not fixed. The problem is reproduced in Nightly92.0a1(20210727094543).
Reporter | ||
Comment 9•3 years ago
|
||
The good build(20210514033445): https://share.firefox.dev/3iVX3Pl
Latest Nightly(20210727094543): https://share.firefox.dev/3BMkPpP
Reporter | ||
Comment 10•3 years ago
•
|
||
The following is how to get the memory report.
- Open 2 browser windows(Let's call them Browser A and Browser B)
- Load about:memory in Browser A
- Load the pdf in Browser B and zoom in several times
- Click
Measure and save
in Browser A and save (It hangs for a long time but may succeed without crashing
Reporter | ||
Comment 11•3 years ago
|
||
Reporter | ||
Updated•3 years ago
|
Comment 12•3 years ago
|
||
Updated•3 years ago
|
Updated•3 years ago
|
Comment 13•3 years ago
|
||
Commit merged into master by GitHub Authored by Brendan Dahl (brendandahl)
Updated•3 years ago
|
Updated•3 years ago
|
Comment 14•3 years ago
•
|
||
Just like in bug 1722571 and bug 1721218, I have confirmed the issue in Firefox Release v90.0.2 as the RAM used grew instantly upon loading it and then upon zooming in or out, and I have verified the fix in Firefox Beta v91.0b9 and Firefox Nightly v92.0a1 from 2021-07-30. The PDF still loads quite slow, but it does not use an absurdly high amount of RAM or get freezes or hangs.
Description
•