且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

无法写入核心转储。核心转储已被禁用

更新时间:2022-03-25 00:28:07

我遇到同样的问题。

作为,错误本身一样 -

As, the error itself suggests -

无法写入核心转储。核心转储已被禁用。为了使核心倾倒,尽量的ulimit -c无限重新启动Java之前

Failed to write core dump. Core dumps have been disabled. To enable core dumping, try ulimit -c unlimited before starting Java again

的ulimit 获取和设置用户限制。有关的ulimit更多信息办 -

ulimit gets and sets user limits. For more info on ulimit do -

man ulimit

所以,打开一个终端,运行 -

So, open a terminal and run -

ulimit -c unlimited

这应该解决的问题。要检查是否更改成功,运行 -

This should solve the problem. To check if the change was successful, run -

ulimit -c -l

这应该给你的输出如下: -

This should give you an output as follows -

core file size          (blocks, -c) unlimited
max locked memory       (kbytes, -l) 64

如果问题仍然存在参阅这个并的这个 askUbuntu

If the problem persists refer to this and this from askUbuntu.