Open Bug 1536420 Opened 5 years ago Updated 28 days ago

PDF uses lot of memory when decoding

Categories

(Firefox :: PDF Viewer, defect, P3)

65 Branch
defect

Tracking

()

UNCONFIRMED
Performance Impact ?

People

(Reporter: gwarser, Unassigned)

Details

(Whiteboard: [pdfjs-performance])

Attachments

(2 files)

Attached file memory-report.json.gz

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

Steps to reproduce:

Actual results:

Memory usage can easily go above 2GB when decoding on load and after paging. Seems to be released after some delay/unspecified event.

Expected results:

Memory usage should not increase a lot when decoding.
PDF decodes without memory problems in Chromium 73, Okular 1.6.3.

Attached file Z3fold.pdf

Looks similar to this: https://bugzilla.mozilla.org/show_bug.cgi?id=1436734
but easier to reproduce and capture memory report.

Component: Untriaged → PDF Viewer
Priority: -- → P3
Whiteboard: [pdfjs-c-performance]
Whiteboard: [pdfjs-c-performance] → [pdfjs-performance]
Severity: normal → S3
Performance Impact: --- → ?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: