内存溢出问题
1.报错信息
Error:java: java.lang.OutOfMemoryError: WrappedJavaFileObject[org.jetbrains.jps.javac.InputFileObject
[org.jetbrains.jps.javac.InputFileObject[file:///D:/project/ccbscf-remote-client/src/main/java/com/ccbscf/remote/biz/order/model/TGpcPurFinApply.java]]
@pos178: GC overhead limit exceeded
2.分析原因
idea的编译预定值太小
3.解决方案
File -> Settings -> Build, Execution, Deployment -> Compiler
修改idea的settings属性值为:
build process heap size(Mbytes):1400