解决idea报错: PermGen space内存溢出的解决方案

**

**

在idea中写spark的scala版本的本地测试运行的时候抛出异常: java.lang.OutOfMemoryError: PermGen space 查过之后是内存溢出问题,配置一下内存就好了

点击Run——>Edit Configurations
解决idea报错: PermGen space内存溢出的解决方案

在VM options 后面添加 -Xms128m -Xmx1024m -XX:MaxPermSize=512m
然后点击Apply应用,然后OK就好了
解决idea报错: PermGen space内存溢出的解决方案

相关文章:

  • 2022-12-23
  • 2021-07-15
  • 2021-12-19
  • 2022-12-23
  • 2021-06-15
  • 2021-12-10
  • 2021-10-15
猜你喜欢
  • 2021-03-30
  • 2021-11-05
  • 2021-11-17
  • 2021-09-12
  • 2021-04-28
  • 2021-05-29
相关资源
相似解决方案