fix crash bugs that too large size local varialbe will cause stack overflow
Merge pull request #1217 from ruil2/crash_update

fix crash bugs that too large size local varialbe will cause stack overflow