Closed Bug 1721218 Opened 4 years ago Closed 4 years ago

Some PDFs fill the RAM completely

Categories

(Firefox :: PDF Viewer, defect)

Firefox 90
Desktop
All
defect

Tracking

()

VERIFIED FIXED
Tracking Status
firefox-esr78 --- unaffected
firefox90 --- wontfix
firefox91 --- verified
firefox92 --- verified

People

(Reporter: mozilla-bugzilla.97l2t, Unassigned)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:90.0) Gecko/20100101 Firefox/90.0

Steps to reproduce:

  1. Open this PDF: https://dl.ubnt.com/datasheets/edgemax/EdgeRouter_DS.pdf
    or alternatively this one: https://dl.ubnt.com/ds/uf_gpon
  2. Scroll down to around the 3rd Page

Actual results:

The complete RAM of my System was filled in about 10 seconds, and the 3rd Page did not render

Expected results:

The RAM usage should remain somewhat stable when opening the PDFs

Oh I forgot to add: This behavior does not appear in Firefox 89

The Bugbug bot thinks this bug should belong to the 'Firefox::PDF Viewer' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.

Component: Untriaged → PDF Viewer
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(bdahl)
Keywords: regression
Regressed by: 1711106
Has Regression Range: --- → yes

Set release status flags based on info from the regressing bug 1711106

Flags: needinfo?(bdahl)

Marco, is that patch part of the recent uplift of pdf.js in Beta 91?

Flags: needinfo?(mcastelluccio)

(In reply to Pascal Chevrel:pascalc from comment #6)

Marco, is that patch part of the recent uplift of pdf.js in Beta 91?

No, it should be in the next update of pdf.js (today's update), which we are also planning to uplift.

Flags: needinfo?(mcastelluccio)
Depends on: 1722352

Still very slow to render, but it doesn't fill the RAM completely anymore.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED

Should we file a bug/issue about improving perf when rendering this PDF?

Flags: needinfo?(bdahl)
See Also: → 1722571

(In reply to Marco Castelluccio [:marco] from comment #9)

Should we file a bug/issue about improving perf when rendering this PDF?

Note: the slow rendering is not a regression, this PDF has always been slow to load!

Just like in bug 1722571, I have confirmed the issue in Firefox Release v90.0.2 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.

Status: RESOLVED → VERIFIED
OS: Unspecified → All
Hardware: Unspecified → Desktop
Flags: needinfo?(bdahl)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: