fix out of memory issue
enable large heap