PDFViewer Very Slow to display loaded document

The PDF in question is a 15 mb PDF file. It is a set of mechanical drawings for a building.

The PDFViewer is working just fine - it's just very slow to display the document, especially when scrolling between the various pages.

It's also a memory hog. On this drawing set that I tested it on, it took up > 2GB of memory.

It's so slow as to be unusable in my application. And I'm running an Intel Core-i7-6900K w/64Gb of DDR4 memory. I can't imagine what it will be like on a more modestly powered systems like my laptop.

Do you have any suggestions?

Thank You!

Sincerely and respectfully,

Dave Babb
Individual Community License.



9 Replies

KE Kathiravan Elangovan Syncfusion Team October 10, 2017 10:15 AM UTC

Hi Dave, 
 
Thank you for your interest in Syncfusion products.  
 
We are unable to reproduce the reported issue “PDF rendering becomes slower when large document is loaded into the PDF viewer”. We have tested this behavior with documents up to the size of 50 mb and it is working as expected. We suspect that this issue is specific to the document that you load into our PDF viewer. Please share the document with us in order to help us resolve this issue. If the document does not contain any confidential information, you can share it in the forum itself, if it does contain any, please create a Direct Trac incident and post the document there.  
 
Regards, 
Kathiravan E 



DB Dave Babb October 10, 2017 03:07 PM UTC

Here you go!



Dave


Attachment: GM19_Full_Set_29bedb9f.7z


KE Kathiravan Elangovan Syncfusion Team October 11, 2017 12:44 PM UTC

Hi Dave, 
 
After analyzing the PDF document provided in your previous update, we found that the pages of the PDF document contains a lot of path contents and the dimensions of the pages are also large compared with normal PDF documents. Since we use GDI for rendering the pages of the PDF document and the large image of the page with the complete content is kept in the main memory, it is the behavior that high memory is consumed when displaying pages with heavy content and the time to parse and render the pages will also be high when compared to a normal document. 
 
However, we will consider your requirement as a feature request and the fix will be available in any of our upcoming main releases.  
 
Please let us know if you know any concerns. 
 
Regards, 
Kathiravan E 



DB Dave Babb October 11, 2017 08:20 PM UTC

Thank you for the reply - and the validation that I'm not loosing my mind - or misapplying the object.

I figured it had something to do with the particular class of PDF files I need to have the PDFViewer display.

May I ask please - what type of time frame are we speaking of? Days? Weeks? Months? or next year?

I ask because I am under a time constraint to deliver a finished product to my client.


Sincerely and respectfully,


Dave



KE Kathiravan Elangovan Syncfusion Team October 12, 2017 07:16 AM UTC

Hi Dave, 
 
Thank you for your update. 
 
We will implement this feature in any of our upcoming releases. We usually have an interval of at least three months between releases. The feature implementation would also greatly depend on the factors such as product design, code compatibility and complexity. 
 
Regards, 
Kathiaravan E 



GP Guglielmo Pisapia January 11, 2020 05:51 PM UTC

Dear Sirs,

I am experiencing the same problem on my application that needs to display mechanical drawings in pdf.

On top of a very slow behavur, I am also experiencing problems if the slider at the bottom of the page is used heavily. The page becomes completely white.

This is a very important issue for us.

Thanks for the attention.

Kind regards,

Guglielmo


VH Vishnuraj Haridoss Syncfusion Team January 13, 2020 12:18 PM UTC

Hi Dave, 
 
We are unable to reproduce the issue” If the slider at the bottom of the page is used heavily. The page becomes completely white. We suspect that this issue is specific to the document that you load into our PDF viewer. Please share the document with us in order to help us resolve this issue. If the document does not contain any confidential information, you can share it in the forum itself, if it does contain any, please create a Direct Trac incident and post the document there.   
 
kindly share the following details to analyze more on this and assist you a better solution,     
     
1. Simple sample to replicate how the slider is being used in your application.      
2. Syncfusion product version.      
3. .Net Framework      
4. Visual Studio version.      
5. Operating System      
  
Best Regards, 
Vishnuraj Haridoss 



CL clifford January 4, 2022 05:55 PM UTC

Hi,


I am seeing the same issue with technical drawings as well they are A3 in size and obviously by nature are drawings rather than text.

Reading your comments above about the whole document being in-memory I feel this could be better if the pages are loaded in a lazy manner and only keep some in memory much like you do for the List and Collection controls in other parts of your tool set.

Here is a sample of the documents the client is wanting to view in the Viewer.

https://casoftware-my.sharepoint.com/:b:/g/personal/cliffordagius_ca-software_co_uk/ERcSz29DBtdFr8qcG_GHTm0BQT48WD6NFeG8UgX5glZRKg?e=yGsaKI


The App is a Xamarin soon to be MAUI App running on Tablets like an iPad so lots of memory and power but super slow and jumpy.





SP SarathKumar Prakash Syncfusion Team January 5, 2022 12:46 PM UTC

Hi clifford, 
 
We were unable to download the document from link you provided in previous update.
It shows like link has been removed.
 
Kindly provide access to us and confirm whether you are facing issue with xamarin pdfviewer and also specify platform in which you are facing the issue

 
Regards, 
Sarath Kumar. 


Loader.
Up arrow icon