Packages

 

com.aspose.psd.memorymanagement

Class Configuration



  • public final class Configuration
    extends Object

    The memory management global configuration

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static int getBufferSizeHint()
      Gets the buffer size hint which is defined max allowed size for all internal buffers.
      static void setBufferSizeHint(int value)
      Sets the buffer size hint which is defined max allowed size for all internal buffers.
    • 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.