StackOverflow Exception when saving .pdf file

Technical support for Spire.Doc

Moderator: iceblue support

StackOverflow Exception when saving .pdf file

Postby pbernhardt » Fri Feb 01, 2013 3:36 pm

Hi e-iceblue Team!

I've encountered a similar problem like the one described in this thread:

I'm using Spire.Doc 4.6.15. I'm creating a PDF document that contains 2 pages. The second one has a lot of place holders that are replaced with text by Spire.Doc (~800 place holders). The .doc version of this document works fine and is quick.

But if I try to create the document as a .pdf file after 20 minutes a StackOverflow exception is thrown while trying to save the file. The first part, the creation of the file and the replacing of the placeholders is also fast. The processor load is only 25 % and the memory is 40 % utilized during those 20 minutes.

Let me know if you need more information and I hope you can help us with this problem.

Thank you in advance!
Posts: 11
Joined: Thu Mar 03, 2011 1:55 pm

Re: StackOverflow Exception when saving .pdf file

Postby amy.zhao » Mon Feb 04, 2013 2:19 am

Hello pbernhardt,

Thanks for your inquiry.
We are sorry for the inconvenience caused by us.
Please try to generate a .doc file and a .docx file by your code, and provide us these two files. They will help us to solve your problem soon. Thank you in advance!

Thanks &Best regards
E-iceblue support team
User avatar
Posts: 2251
Joined: Wed Jun 27, 2012 8:50 am

Return to Spire.Doc

Who is online

Users browsing this forum: No registered users and 0 guests