We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Maximum file size for formatting PDF/A-2b compliance

Hello team,
At present we are using Aspose PDF for Java for generating PDF file with PDF/A-2b compliance. The PDF/A-2b compliance process is taking very long time to complete if original file size is more than 20 MB. And after some time, the process is getting strucked for the file which is having the size greater than 20MB. We have provided java heap memory as follows: Min: 1GB, Max: 2GB. We also tried to set linearized option for this process, but it is not working.

We are in need of technical support for this topic.

Dinesh Rajan.


Would you please share your sample PDF document and code snippet with us. We will test the scenario in our environment and address it accordingly.

Hello team,

Here i have shared google drive link for downloading sample PDF document and sample code.

Sample PDF and code

And we are facing some latency while formatting the PDF file which is having the size around 50 MB. The latency is 20-30 mins. If we are trying to do the same for more than 50 MB file, it is taking more than 30 mins, sometimes 1 hr.



We were able to notice that API hung up while converting your PDF document into PDF/A_2b. We tested the scenario with Aspose.PDF for Java 20.8 and logged an issue as PDFJAVA-39733 in our issue tracking system for the sake of correction. We will further check it in detail and keep you informed about its rectification status. Please be patient and give us some time.

Would you please share a sample source PDF file along with the code snippet so that this scenario can also be tested and addressed accordingly.

We apologize for your inconvenience.