今天在运行之前的项目idea一直在报错
java.lang.OutOfMemoryError: GC overhead limit exceeded
at java.lang.String.valueOf(String.java:3084)
at com.sun.tools.javac.util.Convert.quote(Convert.java:261)
at com.sun.tools.javac.util.Convert.quote(Convert.java:240)
at com.sun.tools.javac.tree.Pretty.visitLiteral(Pretty.java:1198)
at com.sun.tools.javac.tree.JCTree$JCLiteral.accept(JCTree.java:2037)
at com.sun.tools.javac.tree.Pretty.printExpr(Pretty.java:193)
at com.sun.tools.javac.tree.Pretty.visitAssign(Pretty.java:1017)
at com.sun.tools.javac.tree.JCTree$JCAssign.accept(JCTree.java:1686)
at com.sun.tools.javac.tree.Pretty.printExpr(Pretty.java:193)
at com.sun.tools.javac.tree.Pretty.printExpr(Pretty.java:208)
at com.sun.tools.javac.tree.Pretty.printExprs(Pretty.java:222)
at com.sun.tools.javac.tree.Pretty.printExprs(Pretty.java:233)
at com.sun.tools.javac.tree.Pretty.visitAnnotation(Pretty.java:1373)
at com.sun.tools.javac.tree.JCTree$JCAnnotation.accept(JCTree.java:2317)
at com.sun.tools.javac.tree.Pretty.printExpr(Pretty.java:193)
at com.sun.tools.javac.tree.Pretty.printExpr(Pretty.java:208)
at com.sun.tools.javac.tree.JCTree.toString(JCTree.java:410)
at java.lang.String.valueOf(String.java:2994)
at java.lang.StringBuilder.append(StringBuilder.java:131)
at com.sun.tools.javac.comp.Check.validateTypeAnnotation(Check.java:2745)
at com.sun.tools.javac.comp.Attr$TypeAnnotationsValidator.visitAnnotation(Attr.java:4484)
at com.sun.tools.javac.tree.JCTree$JCAnnotation.accept(JCTree.java:2317)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:57)
at com.sun.tools.javac.tree.TreeScanner.visitModifiers(TreeScanner.java:315)
at com.sun.tools.javac.tree.JCTree$JCModifiers.accept(JCTree.java:2343)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49)
at com.sun.tools.javac.comp.Attr$TypeAnnotationsValidator.visitMethodDef(Attr.java:4510)
at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:778)
at com.sun.tools.javac.tree.TreeScanner.scan(TreeScanner.java:49)
at com.sun.tools.javac.comp.Attr$TypeAnnotationsValidator.visitClassDef(Attr.java:4575)
at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:693)
根据报错信息可以明显的看出项目oom;
修改idea里这两个值即可