捕获超出内存错误

Signed-off-by: Takashiro <takashiro@qq.com>