public DiskCache.Factory getDiskCacheFactory() {
        return diskCacheFactory;
    }
Adjusts Glide's current and maximum memory usage based on the given {@link MemoryCategory}.

<p>
    The default {@link MemoryCategory} is {@link MemoryCategory#NORMAL}. {@link MemoryCategory#HIGH} increases
    Glide's maximum memory usage by up to 50% and {@link MemoryCategory#LOW} decreases Glide's maximum memory
    usage by 50%. This method should be used to temporarily increase or decrease memory useage for a single
    Activity or part of the app. Use {@link GlideBuilder#setMemoryCache(MemoryCache)} to set a permanent
    memory size if you want to change the default.
</p>
core/src/main/java/com/bumptech/glide/Glide.java