Hi!
panayot.p wrote:
I need to generate a large pdf file with a huge table. The table might have up to 2 million records. Is there a way to do that?
I don't know.
Make sure your app is running in 64 bit mode. Apps in 32 bit mode are limited to 2 GiB of RAM - even on computers with 32 or 64 GiB of RAM.
panayot.p wrote:
I don't see a dispose method on MigraDoc.DocumentObjectModel.Document or MigraDoc.Rendering.PdfDocumentRenderer, how do I go about freeing the memory once I am done rendering?
The IDisposable pattern makes sense for classes that use limited resources like file handles.
For POCO classes this is not needed. The Garbage Collector will remove the object when all references are gone.
Just set your variable to "null".