Increase heap size to avoid out of memory errors