Did you find this guide helpful?
Some test text!
Dotnet / FAQ / How should I handle the memory management in .NET?
Platform
Documentation
GC.Collect()
is not necessary. You could simply call Dispose(
) (or Close()
) on PDFDoc
, PDFDraw
, ElementBuilder
, ElementWriter
, TextExtractor
, and other larger objects. All memory will be instantly released. You can also use IDispose
pattern (on 'using
' C# keyword) to immediately release these resources.
Get the answers you need: Support