com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class MemoryCleaner



  • public class MemoryCleaner
    extends Object
    Represents MemoryCleaner class
    • Constructor Detail

      • MemoryCleaner

        public MemoryCleaner()
    • Method Detail

      • 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