Skip to content

bmathews/electron-printToPDF-memory

Repository files navigation

$ npm install
$ npm start

Using .print() (normal memory usage)

  1. Click print() button, wait for print dialog to load,
  2. On OSX, change dropdown in bottom left of print dialog to "Save as PDF".
  3. Choose output path. Observe memory usage remain normal during print. (Takes ~40 seconds)

Using .printToPDF() (excessive memory usage)

  1. Click printToPDF() button, observe memory usage exceed 4gb.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published