Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

java

openmpi

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:

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

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

like image 797
user3625605 Avatar asked Sep 26 '22 06:09

user3625605


1 Answers

A core dump (in Unix parlance), memory dump, or system dump consists 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 .

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

.
pls refer java run out of memory issue .

like image 124
New Avatar answered Oct 11 '22 07:10

New