PDF uses lot of memory when decoding

UNCONFIRMED
Unassigned

Status

()

defect
P3
normal
UNCONFIRMED
3 months ago
3 months ago

People

(Reporter: gwarser, Unassigned)

Tracking

65 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [pdfjs-c-performance])

Attachments

(2 attachments)

99.10 KB, application/gzip
Details
1.52 MB, application/pdf
Details
Reporter

Description

3 months ago

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.

Reporter

Comment 1

3 months ago
Posted file Z3fold.pdf
Reporter

Comment 2

3 months ago

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]
You need to log in before you can comment on or make changes to this bug.