Fix out of memory when bulk loading large amount of record array

Bulk API load() seems consuming a lot of memory and ocasionally hungs up when loading more than 5,000 records from array.