@trang you should check the job profile for the failing job to see if you are running out of Heap or Direct memory. Typically, direct is the first offender.
For heap, unless you’re experiencing out of heap issues I’d go with 16GBs (upper end) for optimal GC.