Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unl

Jenkins验证应用失败。控制台错误输出信息如下:

查询网络的解决办法:

1.可能内存不足

2.执行命令ulimit -c unlimited

但是似乎都不是该原因。可能是因为项目启动太多。内存不足。所以笔者尝试清内存,杀进程。

效果似乎很明显:降下来了

 

所以大家可以试试 查找相关端口进程:netstat -anp|grep 9300

直接kill -9  pid 

 

但是好像不是这个原因,因为我本地使用package都失败了,执行了好多test方法

所以我尝试跳过执行测试用例

使用命令:mvn clean package -DskipTests

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007fb2b48c9a91, pid=683, tid=0x00007fb2c3410700
#
# JRE version: OpenJDK Runtime Environment (8.0_191-b12) (build 1.8.0_191-b12)
# Java VM: OpenJDK 64-Bit Server VM (25.191-b12 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libresolv.so.2+0x7a91]  __libc_res_nquery+0x1c1
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /opt/data/workspace/XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX/hs_err_pid683.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
ERROR: Maven JVM terminated unexpectedly with exit code 134
Collecting metadata...
Metadata collection done.
Finished: FAILURE

 

Failed to write core dump. Core dumps have been disabled. To enable core dumping, try

你可能感兴趣的:(Java大S养成之路,jvm)