Open Bug 1165624 Opened 5 years ago Updated 2 years ago
Memory usage 30x+ of page-size
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:37.0) Gecko/20100101 Firefox/37.0 Build ID: 20150420225811 Steps to reproduce: Visit: https://github.com/JeffBezanson/phdthesis/blob/master/main.pdf Click: Next 50 pages button Click: Next 50 pages button firefox 37.0.2-1 x86_64 Linux l-pc 4.0.1-1-ARCH #1 SMP PREEMPT Wed Apr 29 12:00:26 CEST 2015 x86_64 GNU/Linux Actual results: Firefox memory usage (especially on loading next 50 pages 2x) goes to about 1gb for a single open tab. Each page of the pdf is approximately a 250K.png meaning expected size is ~37.5mb. Linux/X-server can also behave erratically with Firefox memory problems (I've variously experienced firefox crashing, x-server crashing, x-server becoming completely unresponsive). Strace is attached. Expected results: None of the above.
5 years ago
Component: Untriaged → PDF Viewer
Can you reproduce the issue with another browser on github or with the built in version of pdf.js in firefox? Github uses a custom version of pdf.js, so it may be they are not cleaning up correctly.
You need to log in before you can comment on or make changes to this bug.