Java – Maven compilation dies of “kill”

I run a large java project compiled by Maven 2 on a Linux virtual machine

[debug] source source: [debug] / home / {...} / SRC / main / Java [debug] / home / {...} / target / generated sources / meta [info] compile 1377 source files into / home / {...} kill (I will return to bash prompt immediately)

I think this may be:

>A Linux thing (I checked my ulimit - HN, it doesn't matter, 10000) > a VM thing (this is on the Amazon EC2 Ubuntu instance) > Maven / Java thing (I've never seen such death, usually just due to memory errors)

Any ideas to narrow the culprit?

Solution

My first guess is that you are out of memory and the kernel is killing the compilation process

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>