• Skip to main content
  • Skip to primary sidebar
  • Home
  • News
  • Windows 11
  • Firefox
  • Chrome
  • Microsoft Edge
  • Android

Techdows

Latest Technology News

PDF.js to get Huge Memory Improvements in Firefox 33

Last updated on June 17, 2014 By Venkat

PDF.js, Firefox’s built-in PDF Viewer has got huge improvements in memory consumption and speed department in version 29, it to get additional large reductions in memory consumption in Firefox 33 browser (which set to release in October) thanks to optimization work performed by Nicholas Nethercote.

What is PDF.js? Will it be Integrated into Firefox?

While testing PDF.js with a document on Mac, Mozilla’s Nethercote has found PDF.js using highest memory and reason for that is "canvases".

"It turns out that pdf.js was intentionally caching an overly generous number of canvases (20) and then unintentionally failing to dispose of them in a timely manner. This could result in hundreds of canvases being held onto unnecessarily if you scrolled quickly through a large document. On my MacBook each canvas is over 20 MiB, so the resultant memory spike could be enormous." he explains the reason for spike in memory.

Comparison Between Firefox PDF Viewer (PDF.js) and Chrome PDF Viewer

These issues have been fixed with four patches which makes PDF.js use only 10 canvases and dispose excess ones immediately.

"These patches have landed in the master pdf.js repository. They have not yet imported into Firefox’s code, but this will happen at some point during the development cycle for Firefox 33. Firefox 33 is on track to be released in mid-October".

How to Get Firefox’s PDF.js Viewer in Chrome and Opera

Filed Under: Firefox, News Tagged With: PDF, PDf.js

Primary Sidebar

Connect with us

Twitter; Facebook; YouTube;

Recent Posts

  • Solving the ChatGPT Network Error in Step by Step Guidelines
  • How to Fix 9Anime Error 500 in 6 Steps
  • Solving “xcrun: error: invalid active developer path” in Git on MacOS

Important Site links

  • About
  • Advertise
  • Contact
  • Privacy Policy

Copyright © 2023 Techdows.com