Using PDFJS Webviewer in React, what are some tips/best practices for managing memory when dealing with a single webviewer and multiple pdf documents.
Currently our memory usage grows with each document switch, even if returning to a document that had already been loaded.