Maven build and maven-failsafe-plugin - The forked VM terminated without properly saying goodbye

前端 未结 6 2096
刺人心
刺人心 2020-12-18 22:19

I use Docker and https://github.com/fabric8io/docker-maven-plugin for my integration tests.

On my Windows 10 (after updating to Windows 10 1709) mac

6条回答
  •  醉梦人生
    2020-12-18 22:37

    VM can crash because of many reasons. I am highlighting here one more cause it can crash.

    I was using maven-surefire-plugin version 2.22.0 with jvm config -Xmx2048m but still it was failing for me.

    Cause of failure: Accidentally I changed windows command prompt 'window buffer size' width to 2000 instead of changing the height. It causes the vm crashes in my case. When i ran the build using git bash it worked fine. So I able to figure out the issue and reverted the command prompt 'window buffer size' width to default value and it worked fine for me.

    Troubleshooting step:

    • Use different command tool to verify this issue. like window command prompt, git bash.

提交回复
热议问题