MemoryCleaner
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.pdf.MemoryCleaner
public class MemoryCleaner extends Object
Represents MemoryCleaner class
Constructors
| Constructor | Description |
|---|---|
| MemoryCleaner |
Methods
| Method | Description |
|---|---|
| clear | Clears Heap memory from static Aspose.PDF instances (static and threadLocal) and deletes all temp files. |
| clearAllTempFiles | Clears temp files, created by Aspose.PDF in system temp directory. |
| clearCurrentThreadLocals | Safely clears Heap memory from ThreadLocal instances for current thread |
| clearFontRegistry | Clears FontRegistry information from the Heap memory. |
| clearKeepingFontSettings | Clears Heap memory from static Aspose.PDF instances (static and threadLocal) and deletes all temp files. |
| clearLicense | Clears license information from the Heap memory. |
| clearStaticInstances | Clears Heap memory from static Aspose.PDF instances. |
MemoryCleaner
public MemoryCleaner()
clear
public static void clear()
Clears Heap memory from static Aspose.PDF instances (static and threadLocal) and deletes all temp files.
clearAllTempFiles
public static void clearAllTempFiles()
Clears temp files, created by Aspose.PDF in system temp directory.
clearCurrentThreadLocals
public static void clearCurrentThreadLocals()
Safely clears Heap memory from ThreadLocal instances for current thread
clearFontRegistry
public static void clearFontRegistry()
Clears FontRegistry information from the Heap memory.
clearKeepingFontSettings
public static void clearKeepingFontSettings()
Clears Heap memory from static Aspose.PDF instances (static and threadLocal) and deletes all temp files.
clearLicense
public static void clearLicense()
Clears license information from the Heap memory.
clearStaticInstances
public static void clearStaticInstances()
Clears Heap memory from static Aspose.PDF instances.