idea启动项目报错
Information:Internal caches are corrupted or have outdated format, forcing project rebuild: backward reference index will be updated to actual version
Information:java: 系统资源不足。
Information:java: 有关详细信息, 请参阅以下堆栈跟踪。
Information:java: java.lang.OutOfMemoryError: Java heap space
Information:java: at com.sun.tools.javac.util.ArrayUtils.ensureCapacity(ArrayUtils.java:60)
Information:java: at com.sun.tools.javac.util.SharedNameTable.fromChars(SharedNameTable.java:96)
Information:java: at com.sun.tools.javac.util.Name$Table.fromString(Name.java:205)
Information:java: at com.sun.tools.javac.util.Names.fromString(Names.java:336)
Information:java: at com.sun.tools.javac.jvm.ClassWriter.writePool(ClassWriter.java:461)
Information:java: at com.sun.tools.javac.jvm.ClassWriter.writeClassFile(ClassWriter.java:1750)
Information:java: at com.sun.tools.javac.jvm.ClassWriter.writeClass(ClassWriter.java:1621)
Information:java: at com.sun.tools.javac.main.JavaCompiler.genCode(JavaCompiler.java:746)
Information:java: at com.sun.tools.javac.main.JavaCompiler.generate(JavaCompiler.java:1572)
Information:java: at com.sun.tools.javac.main.JavaCompiler.generate(JavaCompiler.java:1536)
Information:java: at com.sun.tools.javac.main.JavaCompiler.compile2(JavaCompiler.java:901)
Information:java: at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:860)
Information:java: at com.sun.tools.javac.main.Main.compile(Main.java:523)
Information:java: at com.sun.tools.javac.api.JavacTaskImpl.doCall(JavacTaskImpl.java:129)
Information:java: at com.sun.tools.javac.api.JavacTaskImpl.call(JavacTaskImpl.java:138)
Information:java: at org.jetbrains.jps.javac.JavacMain.compile(JavacMain.java:207)
Information:java: at org.jetbrains.jps.incremental.java.JavaBuilder.compileJava(JavaBuilder.java:493)
Information:java: at org.jetbrains.jps.incremental.java.JavaBuilder.compile(JavaBuilder.java:345)
Information:java: at org.jetbrains.jps.incremental.java.JavaBuilder.doBuild(JavaBuilder.java:270)
Information:java: at org.jetbrains.jps.incremental.java.JavaBuilder.build(JavaBuilder.java:223)
Information:java: at org.jetbrains.jps.incremental.IncProjectBuilder.runModuleLevelBuilders(IncProjectBuilder.java:1414)
Information:java: at org.jetbrains.jps.incremental.IncProjectBuilder.runBuildersForChunk(IncProjectBuilder.java:1092)
Information:java: at org.jetbrains.jps.incremental.IncProjectBuilder.buildTargetsChunk(IncProjectBuilder.java:1159)
Information:java: at org.jetbrains.jps.incremental.IncProjectBuilder.buildChunkIfAffected(IncProjectBuilder.java:1053)
Information:java: at org.jetbrains.jps.incremental.IncProjectBuilder.buildChunks(IncProjectBuilder.java:882)
Information:java: at org.jetbrains.jps.incremental.IncProjectBuilder.runBuild(IncProjectBuilder.java:449)
Information:java: at org.jetbrains.jps.incremental.IncProjectBuilder.build(IncProjectBuilder.java:190)
Information:java: at org.jetbrains.jps.cmdline.BuildRunner.runBuild(BuildRunner.java:138)
Information:java: at org.jetbrains.jps.cmdline.BuildSession.runBuild(BuildSession.java:297)
Information:java: at org.jetbrains.jps.cmdline.BuildSession.run(BuildSession.java:130)
Information:java: at org.jetbrains.jps.cmdline.BuildMain$MyMessageHandler.lambda$channelRead0$0(BuildMain.java:218)
Information:java: at org.jetbrains.jps.cmdline.BuildMain$MyMessageHandler$$Lambda$74/1034469655.run(Unknown Source)
Information:java: Errors occurred while compiling module 'test-c-service'
Information:javac 1.8.0_192 was used to compile java sources
Information:2021/9/4 10:25 - Build completed with 1 error and 275 warnings in 3 m 54 s
Error:java: Compilation failed: internal java compiler error
解决方法:
idea-File-Settings-Build,Execution,Deployment-Compiler-Build process process VM options-将栈值改大些,将700改为1024即可正常启动项目