原文 https://blog.csdn.net/weixin_37595559/article/details/78903957

                

出现该原因是因为内存不够用了,所以需要 修改java vm 的内存;

打开intellij IDE 的 Run 选项转载 intellij IDE Exception in thread "main" java.lang.OutOfMemoryError: Java heap space


2.然后再选择edit configuration 进入到vm options

转载 intellij IDE Exception in thread "main" java.lang.OutOfMemoryError: Java heap space

如果出现报错如下:

Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in

则只是需要将后面的-xx:MaxperSize:***去掉即可。


           

相关文章:

  • 2022-12-23
  • 2022-01-17
  • 2022-02-16
  • 2022-02-06
  • 2021-09-29
  • 2021-07-16
  • 2021-12-03
  • 2021-06-19
猜你喜欢
  • 2022-01-17
  • 2021-10-11
  • 2021-09-12
  • 2022-01-02
  • 2021-04-22
  • 2022-02-23
相关资源
相似解决方案