Maven 被杀 - 不知道为什么

发布于 2024-12-26 03:25:24 字数 920 浏览 2 评论 0原文

我经常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 ~/ $ 

exit by Getötet (eng.: Killed) 但我不知道为什么

有什么想法吗?

Often I do mvn install, the error:

[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 ~/ $ 

exit by Getötet (eng.: killed)
But I don't know why

Any ideas?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

青巷忧颜 2025-01-02 03:25:24

Maven 会使用大量内存。如果使用太多,可能会被 linux 中的 OOM Killer 杀死。

Maven can use a lot of memory. If it uses too much it could be killed by the OOM Killer in linux.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文