private void initMemoryBuffers(MemoryBuffer[] dest, BufferObjectFactory factory) {
    for (int i = 0; i < dest.length; ++i) {
      if (dest[i] != null) continue;
      // Note: this is backward compat only. Should be removed with createUnallocated.
      dest[i] = factory != null ? factory.create() : createUnallocated();
    }
  }
Default max amount of bytes to force evict on failed allocation attempts 16MB. used for testing, for production
please adjust {@link ConfVars.LLAP_ALLOCATOR_MAX_FORCE_EVICTED}
llap-server/src/java/org/apache/hadoop/hive/llap/cache/BuddyAllocator.java