Last Updated: 15 May 2024 07:13 by ADMIN
Created on: 22 Apr 2024 14:57
Category: PdfProcessing
Type: Bug Report
PDF larger than 2 GB throw an IOException

I'm currently working with the large PDFs. I'm able to process PDFs up to 2.1 GB easily without any error using Telerik Document Processing. However, if I take a larger PDF (e.g. 2.8 GB), PdfFormatProvider.Import throws an IOException with the next message: "The parameter is incorrect. : {path}".
I'm using FileStream to provide a sample for the Import method.

I've checked it with the different samples, all have the same behavior. So, I guess, it will work for any PDF larger than 2.1 GB.
Posted on: 26 Apr 2024 08:37
Thanks for your answer.

I haven't noticed there is an option for the private thread, so yes, I'd like to recreate another private ticket. And we will move there. I'm in progress of getting the sample that I can share with you.

You can close this one.
Posted on: 24 Apr 2024 10:12

Hello Vitalii,

I am sorry to hear about the setbacks you are experiencing and would like to assist you in resolving this case. However, I am unable to reproduce the described exceptions on my end regardless of the size of the documents I use. That leads me to believe that the issue could be file-specific. In order to investigate this case any further I would need a document I can replicate the same results with.

If you are willing to proceed by sharing the file I have created a temporary account in our SFTP portal, where large files can be uploaded and you can share your resources.

Here are the access credentials needed for this account:

SFTP Username: Vitalii
SFTP Password: FWV7thdKzbY75
Server Name:
Server Port:         4422

Complete instructions on the process can be found here: How to Upload Files to Progress FTP.  

However, please keep in mind that this is a public thread and everything shared here is publicly accessible. If you are having any concerns please feel free to open a separate private support ticket where we can continue our conversation I can set up a new repository.

If you need anything else, we are at your disposal.

Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.