项目占内存太大,导致编译时内存溢出 1、修改编译空间大小 位置:Settings -> Compiler -> build process heap size(Mbytes): 注:我把700改成1000,重新运行就可以了。