Packages

 

com.aspose.imaging.memorymanagement

Class Configuration



  • public final class Configuration
    extends Object

    The memory management global configuration

    • Constructor Detail

      • Configuration

        public Configuration()
    • Method Detail

      • getBufferSizeHint

        public static int getBufferSizeHint()

        Gets the buffer size hint which is defined max allowed size for all internal buffers.

        Value: The buffer size hint, in megabytes. Non-positive value means no memory limitation for internal buffers
        Returns:
        the buffer size hint which is defined max allowed size for all internal buffers.
      • setBufferSizeHint

        public static void setBufferSizeHint(int value)

        Sets the buffer size hint which is defined max allowed size for all internal buffers.

        Value: The buffer size hint, in megabytes. Non-positive value means no memory limitation for internal buffers
        Parameters:
        value - the buffer size hint which is defined max allowed size for all internal buffers.