I am reading a xml file and creating a pdf from it. When the line number of the file is more than 6,00,000 (approx) the pdf.save getting stuck without any exception.
Do you have any limit of the file size which Aspose can support to generate the PDF ? If Yes please let me know the line numbers or the file size.
Code template :
Pdf pdf = new Pdf();
String inputFile = “C:\ziptest\jira1271\bulk-xml-1271.xml”;
String data = readFile(new File(inputFile));
pdf.bindXML(new StringBufferInputStream(data), null);
I am using Java Aspose 2.7.0. Here is a small stats about the time taken for pdf generation. Is the time taken Ok as per Aspose standard ?
|No. of Lines in xml file||Time taken to Bind Xml (in Secs)||Time taken to save the Pdf (in Secs)||No. of Pages in the generated Pdf|