Temporary fix for heap error caused by large amount of commit diff.