Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Mon Apr 04, 2016 9:30 am

We are using SpirePDF in our application(as a window service) to print pdf files. Printing works fine for small documents. But for large documents which have large number of pages, spirePDF takes high usage of memory. As an example for the pdf file attached here contains 358 pages and it took almost 3.5GB of RAM while printing and after around 200-205 pages it stopped printing. Here the memory usage increases with the number of pages printed. So seems like the printed pages are stored in RAM which makes the memory usage to increase with the number of pages printed.

1. Is this a bug in spirePDF?
2. Is there any way to force garbage collection on already printed pages?

SpirePDF version - 3.6.260

janitha000
 
Posts: 15
Joined: Fri Mar 11, 2016 10:07 am

Tue Apr 05, 2016 2:31 am

Hi,

Thanks for your posting.
I have forwarded your issue to our dev team. Our dev team will do some investigation and try to resolve it. We will tell you when there is any update.

Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2774
Joined: Wed Jun 27, 2012 8:50 am

Thu Apr 07, 2016 7:10 am

Any update on this issue?

janitha000
 
Posts: 15
Joined: Fri Mar 11, 2016 10:07 am

Thu Apr 07, 2016 8:44 am

Hi,

Thanks for your inquiry.
We just got an update from our dev team. My dev colleague has fixed the issue. We will build a new hotfix to test and will inform you when the hotfix is ok.

Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2774
Joined: Wed Jun 27, 2012 8:50 am

Thu Apr 07, 2016 11:20 am

Ok, thanks. :)

janitha000
 
Posts: 15
Joined: Fri Mar 11, 2016 10:07 am

Mon Apr 11, 2016 12:29 pm

Hi,

Can we know when will be the hotfix for this problem will be available for us?

Thank you.

janitha000
 
Posts: 15
Joined: Fri Mar 11, 2016 10:07 am

Tue Apr 12, 2016 8:22 am

Hi,

Our test team just gave me an update that the new hot fix resolved the out of memory error in window XP environment but the error still exsited in window 7 and server2012, sorry. Our dev team is investigating the issue and will continue fixing it.

Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2774
Joined: Wed Jun 27, 2012 8:50 am

Tue Apr 19, 2016 4:42 am

Any new update?

janitha000
 
Posts: 15
Joined: Fri Mar 11, 2016 10:07 am

Tue Apr 19, 2016 6:23 am

Hi,

There is an update on window 7 that it needs 500M memory to finish printing your document. Our dev team still is fixing the issue on other system.

Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2774
Joined: Wed Jun 27, 2012 8:50 am

Mon Apr 25, 2016 6:21 am

Were you able to fix this issue on windows server 2012?

janitha000
 
Posts: 15
Joined: Fri Mar 11, 2016 10:07 am

Mon Apr 25, 2016 6:44 am

Hi,

I have forwarded your requirement to our dev team. They are fixing it. We will inform you when it is fixed.

Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2774
Joined: Wed Jun 27, 2012 8:50 am

Fri May 06, 2016 3:08 am

Hi,

Thanks for waiting.
The issue has been resolved. Welcome to download and test Spire.PDF Pack Version:3.7.

Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2774
Joined: Wed Jun 27, 2012 8:50 am

Tue May 10, 2016 3:49 am

Hi,

Does Spire.PDF Pack Version:3.7 resolve your issue?
Thanks for your feedback in advance.

Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2774
Joined: Wed Jun 27, 2012 8:50 am

Return to Spire.PDF