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

user3625605 picture user3625605 · Feb 25, 2016 · Viewed 16.8k times · Source

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?

Answer

New picture New · Feb 25, 2016

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 .