java “无法写入核心转储”错误是什么?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/35622802/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-11-03 00:23:00  来源:igfitidea点击:

what is the error "failed to write core dump"?

javaopenmpi

提问by user3625605

I'm working with java OpenMPI on a server (64GB memory) to sort a big integer array (the length is 1 billion). But when I increase the length of the array, I get this error:

我正在服务器(64GB 内存)上使用 java OpenMPI 对一个大整数数组(长度为 10 亿)进行排序。但是当我增加数组的长度时,出现此错误:

A fatal error has been detected by the Java Runtime Environment:

...

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

Java 运行时环境检测到一个致命错误:

...

无法写入核心转储。核心转储已被禁用。要启用核心转储,请在再次启动 Java 之前尝试“ulimit -c unlimited”

what is core dump? and what could be the error which causes this error? and how to resolve this error?

什么是核心转储?导致此错误的错误可能是什么?以及如何解决此错误?

采纳答案by New

A core dump (in Unix parlance), memory dump, or system dumpconsists of the recorded state of the working memory of a computer program at a specific time, generally when the program has crashed or otherwise terminated abnormally.
Pls refer Core dump.

核心转储(Unix中的说法)存储器转储,或系统转储由计算机程序的工作存储器中的记录状态的在特定的时间,一般当程序崩溃或以其他方式异常终止。
请参考核心转储

I think this exception occurs because of java run out of memory

我认为发生此异常是因为 java 内存不足

.
pls refer java run out of memory issue .

.
请参考java 内存不足问题