Skip to end of metadata
Go to start of metadata
 

Reducing Memory Consumption of Documents

Reduce memory consumption of PDF format

GroupDocs.Metadata API allows working with PDF format with less memory consumption. Please note that the PdfFormat class implements the IDisposable interface and it's necessary to call the Dispose() method when you're done working with its instance.

Following code snippets use less memory while working with PDF format.

If you are loading a PDF file from a stream, it's up to you to close the stream when the file is not needed anymore.


The same rule works if you are saving the output file into a stream.

Reduce memory consumption of Word formats

GroupDocs.Metadata API allows working with Word formats with less memory consumption. Please note that the DocFormat class implements the IDisposable interface and it's necessary to call the Dispose() method when you're done working with its instance.

Following code snippets use less memory while working with Word formats.

If you are loading a Word document from a stream, it's up to you to close the stream when the file is not needed anymore.

The same rule works if you are saving the output file into a stream.

Reduce memory consumption of Excel formats

GroupDocs.Metadata API allows working with Excel formats with less memory consumption. Please note that the XlsFormat class implements the IDisposable interface and it's necessary to call the Dispose() method when you're done working with its instance.

Following code snippets use less memory while working with Excel formats.

If you are loading an Excel document from a stream, it's up to you to close the stream when the file is not needed anymore.

The same rule works if you are saving the output file into a stream.

Reduce memory consumption of PowerPoint formats

GroupDocs.Metadata API allows working with PowerPoint formats with less memory consumption. Please note that the PptFormat class implements the IDisposable interface and it's necessary to call the Dispose() method when you're done working with its instance.

Following code snippets use less memory while working with PowerPoint formats.

If you are loading a PowerPoint document from a stream, it's up to you to close the stream when the file is not needed anymore.

The same rule works if you are saving the output file into a stream.

Reduce memory consumption of Visio formats

GroupDocs.Metadata API allows working with Visio documents with less memory consumptionPlease note that the VisioFormat class implements the IDisposable interface and it's necessary to call the Dispose() method when you're done working with its instance.

Following code snippets use less memory while working with Visio formats.

If you are loading a Visio document from a stream, it's up to you to close the stream when the file is not needed anymore.

The same rule works if you are saving the output file into a stream.

Reduce memory consumption of OneNote formats

GroupDocs.Metadata API allows working with OneNote documents with less memory consumption. Please note that the OneNoteFormat class implements the IDisposable interface and it's necessary to call the Dispose() method when you're done working with its instance.

Following code snippets use less memory while working with OneNote formats.

If you are loading a OneNote document from a stream, it's up to you to close the stream when the file is not needed anymore.

The same rule works if you are saving the output file into a stream.

Reduce memory consumption of CAD formats

GroupDocs.Metadata API allows working with CAD documents with less memory consumption. Please note that the DwgFormat and DxfFormat classes implements the IDisposable interface and it's necessary to call the Dispose() method when you're done working with the instance.

Following code snippets use less memory while working with CAD formats.

If you are loading a CAD drawing from a stream, it's up to you to close the stream when the file is not needed anymore.

The same rule works if you are saving the output file into a stream.

Reduce memory consumption of CAD formats

GroupDocs.Metadata API allows working with CAD documents with less memory consumption. Please note that the DwgFormat and DxfFormat classes implements the IDisposable interface and it's necessary to call the Dispose() method when you're done working with the instance.

Following code snippets use less memory while working with CAD formats.

If you are loading a CAD drawing from a stream, it's up to you to close the stream when the file is not needed anymore.

The same rule works if you are saving the output file into a stream.

Labels
  • No labels