这个问题是内存泄露。 原因:代码有开辟空间(new or malloc) 但在用完之后没有 (delete or free)。 解决方案:检查所有开辟的空间,在不用之后去delete 或者 free一下。