com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class MemoryExtender



  • public class MemoryExtender
    extends Object
    Represents MemoryExtender class Using large files on a system with limited heap memory, can be enabled to use disk space as a temporary swap memory.
    • Constructor Detail

      • MemoryExtender

        public MemoryExtender()
    • Method Detail

      • isSwapEnabled

        public static boolean isSwapEnabled()
        Is enabled to use disk space as a temporary swap memory. Default value is FALSE
        Returns:
        boolean value
      • setSwapEnabled

        public static void setSwapEnabled(boolean value)
        Set flag whether disk space is enabled to use as a temporary swap memory.
        Parameters:
        value - boolean value
      • isSkipHeavyContentEnabled

        public static boolean isSkipHeavyContentEnabled()
        Is enabled to skip objects with high memory consumption in rendering with lack of heap memory. Default value is FALSE
        Returns:
        boolean value
      • setSkipHeavyContentEnabled

        public static void setSkipHeavyContentEnabled(boolean value)
        Set flag to enable to skip objects with high memory consumption in rendering with lack of heap memory.
        Parameters:
        value - boolean value
      • isEnabledMultiPageImageCache

        public static boolean isEnabledMultiPageImageCache()
      • setEnableMultiPageCache

        public static void setEnableMultiPageCache(boolean enableMultiPageImageCache)