osx maven running tests Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “main”

前端 未结 1 1363
粉色の甜心
粉色の甜心 2021-02-14 02:51

I have been trying to run on mac a ready maven project which works under linux. When calling mvn clean install it runs a portion of the tests and then I am getting

相关标签:
1条回答
  • 2021-02-14 03:33

    I fixed this problem by adding another magic environmental variable

    JAVA_TOOL_OPTIONS="-Xmx1024m -XX:MaxPermSize=512m -Xms512m"

    0 讨论(0)
提交回复
热议问题