Sign In  Sign Up Live-Chat

Pdf Save take very long time

Last post 11-04-2008, 8:45 PM by forever. 35 replies.
Page 1 of 3 (36 items)   1 2 3 Next >
Sort Posts: Previous Next
  •  02-26-2008, 4:19 PM 115018

    Pdf Save take very long time

    Hi,

    We are using Aspose.pdf.dll (3.4.0.0) in our .net web application to generate pdf from xml document. And some time when we get big xml @10MB then save method takes very long time. We tried using true font files and setting following properties but no luck. We are using Window Server 2003, IIS6.0 and .net 2.0

    pdf.IsTruetypeFontMapCached = true;

    pdf.TruetypeFontMapPath = HttpContext.Current.Server.MapPath(".");

    pdf.CompressionLevel = 9; // does compression Level increase performance?

    Please help us.

    Thank you,

    NP

     

     
  •  02-26-2008, 11:40 PM 115048 in reply to 115018

    Re: Pdf Save take very long time

    Hi,

    Can you please give us the xml that is taking too long to complete so that we can test it.

    Thanks.

     
  •  02-27-2008, 8:13 AM 115151 in reply to 115048

    Re: Pdf Save take very long time

    Attachment: Present (inaccessible)

    Hi,

    Here is the sample xml that contains 100 big articles.

     
  •  02-27-2008, 2:03 PM 115220 in reply to 115151

    Re: Pdf Save take very long time

    Hi,

    Can you also give us the XSL file that your using with this xml.

    Thanks.

     
  •  02-27-2008, 4:56 PM 115245 in reply to 115220

    Re: Pdf Save take very long time

    We not using xslt, we are navigating through each article, paragraph and append sections to Pdf root section.

     

     
  •  02-27-2008, 8:51 PM 115260 in reply to 115245

    Re: Pdf Save take very long time

    Hi,

    Alright, now I understand your point. Can you please share you full code and let us test this issue that why it is taking so much time. BTW the two statements written in above posts for setting True Type fonts speeds up the saving process, about the compression level, it affect's performance, have you tried to check after removing that statement?

    Thanks.

     
  •  02-28-2008, 9:55 AM 115373 in reply to 115260

    Re: Pdf Save take very long time

    Attachment: Present (inaccessible)

    Initially we had that statement commented out but was same issue. Review attached files. I have some debugging statements, Key method is -> public byte[] GetPdf()

    Thank you,

    Naresh

     
  •  02-28-2008, 4:03 PM 115433 in reply to 115373

    Re: Pdf Save take very long time

    Hi,

    I was unable to run the code that you provide because it was missing some classes. Would it be possible for you to provide us with a runable piece of code which can reproduce this error.

    Thanks.

     
  •  02-28-2008, 4:24 PM 115436 in reply to 115433

    Re: Pdf Save take very long time

    I have to create demo project and send it to you.

     
  •  02-29-2008, 10:18 AM 115582 in reply to 115436

    Re: Pdf Save take very long time

    Hi,

    If you can do that then it would be great.

    Thanks.

     
  •  03-03-2008, 10:03 AM 115868 in reply to 115582

    Re: Pdf Save take very long time

    Is this the right email address? adeel.ahmad@aspose.com

     

     
  •  03-03-2008, 11:25 AM 115892 in reply to 115868

    Re: Pdf Save take very long time

    Unzip

    Setup a web project

    Browse TestPdf.aspx (Xml with 3 articles)

    Rename data.xml to data_small.xml

    Rename data1.xml to data.xml (Xml with 100 articles)

     

     
  •  03-03-2008, 11:58 AM 115904 in reply to 115892

    Re: Pdf Save take very long time

    Hi,

    The email that you sent didn't have any attachments and there are no attachments with this post either. Can you please send the email again or attach it to this post.

    Thanks.

     
  •  03-03-2008, 4:38 PM 115962 in reply to 115904

    Re: Pdf Save take very long time

    Are you able to reproduced it?
     
  •  03-03-2008, 7:05 PM 115977 in reply to 115962

    Re: Pdf Save take very long time

    Dear Patel,

    I think you have sent me an email from Naresh.Patel@dowjones.com. I have checked my email account and found that the email didn't reach me due to mailbox quota. Can you please send me again to adeeltaseer@gmail.com and let me test this issue. Sorry for inconvenience.

    Thanks.

     
Page 1 of 3 (36 items)   1 2 3 Next >
View as RSS news feed in XML