经常做mvn install,报错:
[INFO] Tests Completed in 8212ms ...
[INFO] -------------------------------------------------------
[INFO] Tests passed: 104
[INFO] Tests failed: 0
[INFO] -------------------------------------------------------
[INFO]
[INFO] Starting integration test phase ...
[INFO] [copy] Copying 3 files to /home/user/application/target/test-classes
[INFO] [groovyc] Compiling 2 source files to /home/user/application/target/classes
[INFO] Property files: [classpath:xxx]
[INFO] Setting up hooks for XXXX integration
[INFO] [copy] Copying 1 file to /home/user/.grails/1.x.x/projects/application
[INFO] [groovyc] Compiling 2 source files to /home/user/application/target/classes
[INFO] Property files: [...]
[INFO] Setting up hooks for XXX/GORM integration
Getötet
user@localhost ~/ $
Getötet 退出(英语:被杀) 但是我不知道为什么
有什么想法吗?
最佳答案
Maven 会占用大量内存。如果它使用太多,它可能会被 linux 中的 OOM Killer 杀死。
关于java - Maven 被杀 - 不知道为什么,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8806701/