ENG-4835: Reduce direct byte buffer usage on elastic join.