java: OutOfMemoryError: insufficient memory while running JUnits in Idea

前端 未结 5 1627
一整个雨季
一整个雨季 2021-01-07 23:20

I am trying to run JUnits from my IntelliJ Idea When I try to run the Test.java file it gives me an error saying that

java: OutOfMemoryError: insuffic

5条回答
  •  我在风中等你
    2021-01-08 00:09

    Based on your log the problem is in compiler heap space.

    Go to

    Settings -> Compiler -> Build process heap size (MB)
    

    and increase that value.

提交回复
热议问题