public class MemoryCleaner extends Object
| Constructor and Description |
|---|
MemoryCleaner() |
| Modifier and Type | Method and Description |
|---|---|
static void |
clear()
Clears Heap memory from static Aspose.PDF instances (static and threadLocal) and deletes all temp files.
|
static void |
clearAllTempFiles()
Clears temp files, created by Aspose.PDF in system temp directory.
|
static void |
clearCurrentThreadLocals()
Safely clears Heap memory from ThreadLocal instances for current thread
|
static void |
clearFontRegistry()
Clears FontRegistry information from the Heap memory.
|
static void |
clearKeepingFontSettings()
Clears Heap memory from static Aspose.PDF instances (static and threadLocal) and deletes all temp files.
|
static void |
clearLicense()
Clears license information from the Heap memory.
|
static void |
clearStaticInstances()
Clears Heap memory from static Aspose.PDF instances.
|
public static void clearKeepingFontSettings()
public static void clear()
public static void clearStaticInstances()
public static void clearAllTempFiles()
public static void clearFontRegistry()
public static void clearLicense()
public static void clearCurrentThreadLocals()
Copyright © 2025 Aspose. All Rights Reserved.