fix oneof out of memory due to too many transaction commits