MemoryCleaner

Inheritance: java.lang.Object

public class MemoryCleaner

Represents MemoryCleaner class

Constructors

ConstructorDescription
MemoryCleaner()

Methods

MethodDescription
clearKeepingFontSettings()Clears Heap memory from static Aspose.PDF instances (static and threadLocal) and deletes all temp files.
clear()Clears Heap memory from static Aspose.PDF instances (static and threadLocal) and deletes all temp files.
clearStaticInstances()Clears Heap memory from static Aspose.PDF instances.
clearAllTempFiles()Clears temp files, created by Aspose.PDF in system temp directory.
clearFontRegistry()Clears FontRegistry information from the Heap memory.
clearLicense()Clears license information from the Heap memory.
clearCurrentThreadLocals()Safely clears Heap memory from ThreadLocal instances for current thread

MemoryCleaner()

public MemoryCleaner()

clearKeepingFontSettings()

public static void clearKeepingFontSettings()

Clears Heap memory from static Aspose.PDF instances (static and threadLocal) and deletes all temp files.

clear()

public static void clear()

Clears Heap memory from static Aspose.PDF instances (static and threadLocal) and deletes all temp files.

clearStaticInstances()

public static void clearStaticInstances()

Clears Heap memory from static Aspose.PDF instances.

clearAllTempFiles()

public static void clearAllTempFiles()

Clears temp files, created by Aspose.PDF in system temp directory.

clearFontRegistry()

public static void clearFontRegistry()

Clears FontRegistry information from the Heap memory.

clearLicense()

public static void clearLicense()

Clears license information from the Heap memory.

clearCurrentThreadLocals()

public static void clearCurrentThreadLocals()

Safely clears Heap memory from ThreadLocal instances for current thread