10 Apr 2020 14:08
PdfViewer: UI freezes when loading pages containing large number of images with FixedDocumentSinglePageViewPresenter
Visualizing a page with a huge number of images (40000) freezes the application.
When switching to the FixedDocumentSinglePageViewPresenter, all the page content should be loaded so it can be later rendered. Although the images are loaded asynchronously, there are too many threads started which seems to cause the hang. Also, according to profiling results, it seems like the image caching causes performance diminishments in such scenarios.