Skip to content
ComPDF
DemoFAQ
New Release

Open-Source PDF SDK & AI Document Processing

Get the full self-hosted SDK and AI document processing on GitHub. One-click deploy to quickly build your document workflows.

Release library resources

Overview

Release the files and memory resources occupied by ComPDF Conversion SDK.

Notice

  • After calling this interface to release library resources, the ComPDF Conversion SDK will no longer function properly and must be reloaded.

  • When you only want to release the resources occupied by the AI model rather than all resources used by the ComPDF Conversion SDK, you can achieve this by calling the releaseAIModel interface.

Sample

kotlin
// Release AI Model resources.
ConverterManager.releaseAIModel()
// Release SDK resources.
ConverterManager.release()