(#2128) - WIP - attempt to fix OOM with replicate.js batch size