$ npm install
$ npm start
- Click
print()
button, wait for print dialog to load, - On OSX, change dropdown in bottom left of print dialog to "Save as PDF".
- Choose output path. Observe memory usage remain normal during print. (Takes ~40 seconds)
- Click
printToPDF()
button, observe memory usage exceed 4gb.