PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Thu Mar 28, 2024 9:33 pm

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Wed Sep 23, 2020 8:52 am 
Offline

Joined: Wed Sep 23, 2020 8:46 am
Posts: 2
Hi,

I have created a web application with PDFSharp.

I am creating 5000 PDF from a single template, but after certain amount of PDF creating it gives OutofMemroyException

Do you please help me on this.

Thank you.


Top
 Profile  
Reply with quote  
PostPosted: Wed Sep 23, 2020 10:27 am 
Offline
PDFsharp Expert
User avatar

Joined: Sat Mar 14, 2015 10:15 am
Posts: 909
Location: CCAA
Hi!
kdadesara wrote:
I am creating 5000 PDF from a single template, but after certain amount of PDF creating it gives OutofMemroyException
Make sure your code closes all files and frees all objects that are no longer used.

_________________
Best regards
Thomas
(Freelance Software Developer with several years of MigraDoc/PDFsharp experience)


Top
 Profile  
Reply with quote  
PostPosted: Wed Sep 23, 2020 11:46 am 
Offline

Joined: Wed Sep 23, 2020 8:46 am
Posts: 2
I have disposed all objects everytime after used.

but still not working :|


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 132 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Privacy Policy, Data Protection Declaration, Impressum
Powered by phpBB® Forum Software © phpBB Group