一.java.lang.OutOfMemoryError: Java heap space

1.在tomcat设置界面  VM options添加参数 -server -XX:PermSize=512M -XX:MaxPermSize=1024m

IDEA启动项目内存溢出

2.打开File --> Setting ---> Build,Exception,Deployment --> Compiler --Build process heap size(Mbytes)  值设大一点

IDEA启动项目内存溢出

 

二.Error:java: Compilation failed: internal java compiler error

打开File --> Setting ---> Build,Exception,Deployment --> Compiler --> Java Compiler  界面Module的Target bytecode version 值设为jdk版本

IDEA启动项目内存溢出

相关文章:

  • 2021-06-04
  • 2021-07-10
  • 2021-08-18
  • 2021-12-07
  • 2021-05-28
  • 2021-06-09
猜你喜欢
  • 2021-05-07
  • 2021-04-30
  • 2022-12-23
  • 2021-04-03
  • 2022-12-23
  • 2021-04-16
  • 2021-10-10
相关资源
相似解决方案