Closed
Bug 881974
Opened 11 years ago
Closed 2 years ago
pdf.js uses too much memory
Categories
(Firefox :: PDF Viewer, defect, P3)
Tracking
()
RESOLVED
FIXED
People
(Reporter: n.nethercote, Unassigned)
References
Details
(Whiteboard: [MemShrink:P2][pdfjs-performance])
pdf.js uses too much memory, at least in some cases. This is bad, because PDFs are common, and the introduction of pdf.js made it hard to open PDFs in any other way.
This is a meta-bug for tracking specific problems. I'll put the MemShrink tag on this bug, not on the individual blocking bugs.
Updated•11 years ago
|
Comment 2•11 years ago
|
||
Is it possible to hibernate pdf.js (or parts of it) when not in use (i. e. in a background tab)? That will at least help reduce excessive memory usage in some use cases (e. g. when someone opens multiple PDFs at once).
Would it be possible to implement such a hibernation mode?
Updated•11 years ago
|
Priority: -- → P3
Whiteboard: [MemShrink:P1] → [MemShrink:P1][pdfjs-c-performance]
Comment 4•11 years ago
|
||
Here's a user on the support forums also reporting this issue:
https://support.mozilla.org/en-US/questions/972366?esab=a&s=&r=0&as=s
Comment 5•11 years ago
|
||
I am also seeing extremely high memory usage of 1GB or more when viewing PDF files of scanned images. See further details at https://github.com/mozilla/pdf.js/issues/3630. Please let me know if I can provide more information to help resolve this issue.
Blocks: 949650
Reporter | ||
Updated•11 years ago
|
Reporter | ||
Comment 6•11 years ago
|
||
Things are much better now, and I've recently landed a few more patches to the master pdf.js repo that haven't yet been merged into Firefox. I think this can be safely downgraded to a MemShrink:P2. If anyone has example documents that still cause high memory consumption please let me know.
Whiteboard: [MemShrink:P1][pdfjs-c-performance] → [MemShrink:P2][pdfjs-c-performance]
Reporter | ||
Comment 7•10 years ago
|
||
I made some additional improvements, described here: https://blog.mozilla.org/nnethercote/2014/06/16/an-even-slimmer-pdf-js/
Reporter | ||
Updated•7 years ago
|
Updated•3 years ago
|
Whiteboard: [MemShrink:P2][pdfjs-c-performance] → [MemShrink:P2][pdfjs-performance]
Updated•2 years ago
|
Severity: normal → S3
Comment 10•2 years ago
|
||
The severity field for this bug is relatively low, S3. However, the bug has 18 votes.
:calixte, could you consider increasing the bug severity?
For more information, please visit auto_nag documentation.
Flags: needinfo?(cdenizet)
Updated•2 years ago
|
Status: NEW → RESOLVED
Closed: 2 years ago
Flags: needinfo?(cdenizet)
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•