public AnimatedDrawableOptionsBuilder setMaximumBytes(int maximumBytes) {
    mMaximumBytes = maximumBytes;
    return this;
  }
Sets the maximum bytes that the backend can use to cache image frames in memory.

@param maximumBytes maximum bytes that the backend can use to cache image frames in memory or
    -1 to use the default
@return this builder
animated-base/src/main/java/com/facebook/imagepipeline/animated/base/AnimatedDrawableOptionsBuilder.java