PDFsharp & MigraDoc Foundation

PDFsharp - A .NET library for processing PDF & MigraDoc Foundation - Creating documents on the fly
It is currently Thu Oct 06, 2022 8:24 am

All times are UTC


Forum rules


Please read this before posting on this forum: Forum Rules



Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Tue Jul 19, 2022 12:23 pm 
Offline

Joined: Tue Jul 19, 2022 12:07 pm
Posts: 1
I'm using Migradoc in my WPF Application for PDF Report generation.
PDF Report contains:
1. Data Tables
2. Charts
3. Images

PDF Report has dynamic number of Pages(based on data pages are generated)
If I'm generating PDF Report continuously(5-6 times) then memory usage goes high
I've analyze some objects in visual studio using diagnoses tool.
Please refer below screen shot for top memory user objects.

MigraDoc.DocumentObjectModel.Shapes.LineFormat
PdfSharp.Charting.LineFormat
PdfSharp.Charting.FillFormat
MigraDoc.DocumentObjectModel.Shapes.FillFormat
MigraDoc.DocumentObjectModel.Shapes.Charts.PointX
PdfSharp.Charting.PointX

I'm Using MigraDoc version 1.32

Thanks,


Attachments:
image (1).png
image (1).png [ 20.74 KiB | Viewed 235 times ]
Top
 Profile  
Reply with quote  
PostPosted: Tue Jul 19, 2022 10:43 pm 
Offline
PDFsharp Expert
User avatar

Joined: Sat Mar 14, 2015 10:15 am
Posts: 742
Location: CCAA
We are using MigraDoc in our application. Version 1.50 or 1.51.
After we ran document generation once, memory consumption does not go up if we run PDF generation again, can be 5 times, can be 10 times.
I don't call this a bug. Working as intended.

If you think there is a bug, make it replicable.

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


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 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