La máquina virtual bifurcada finalizó sin despedirse adecuadamente. Fallo de VM o System.exit llamado

Resuelto astack asked hace 10 años • 0 respuestas

Porfavor ayudame a resolver este problema. No entiendo exactamente qué significa el error en el registro.

[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 21.749s
[INFO] Finished at: Thu Apr 24 10:10:20 IST 2014
[INFO] Final Memory: 15M/37M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.15:test (default-test) on project samples.simpleforwarding: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.15:test failed: The forked VM terminated without saying properly goodbye. VM crash or System.exit called ?
[ERROR] Command wascmd.exe /X /C ""C:\Program Files\Java\jdk1.7.0_55\jre\bin\java" -Xmx1024m -XX:MaxPermSize=256m -jar E:\OpenDayLight\controller\opendaylight\samples\simpleforwarding\target\surefire\surefirebooter53410321571238933.jar E:\OpenDayLight\controller\opendaylight\samples\simpleforwarding\target\surefire\surefire86076271125218001tmp E:\OpenDayLight\controller\opendaylight\samples\simpleforwarding\target\surefire\surefire_01846991116135903536tmp"
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
astack avatar Apr 24 '14 11:04 astack
Aceptado

Tuve el mismo problema y lo resolví agregando:

<argLine>-Xmx1024m -XX:MaxPermSize=256m</argLine>

Todo el elemento del complemento es:

<plugin>
  <groupId>org.apache.maven.plugins</groupId>
  <artifactId>maven-surefire-plugin</artifactId>
  <configuration>
    <forkCount>3</forkCount>
    <reuseForks>true</reuseForks>
    <argLine>-Xmx1024m -XX:MaxPermSize=256m</argLine>
  </configuration>
</plugin>
xiaohuo avatar Nov 17 '2015 13:11 xiaohuo

En mi caso, el problema estaba relacionado con la salida de registros demasiado largos en la consola IntelliJ IDEA (sistema operativo Windows 10).

Dominio:

mvn clean install

Este comando me resolvió el problema:

mvn clean install > log-file.log
Mikhail avatar Aug 27 '2018 06:08 Mikhail