What is the error "failed to write the main dump"?

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

Fatal error detected in Java Runtime Environment:

...

Failed to write the main dump. Kernel reset is disabled. To enable kernel reset, try "ulimit -c unlimited" before restarting Java

What is a kernel dump? and what could be the error causing this error? and how to resolve this error?

+5
source share
1 answer

"A kernel dump (in Unix language), a memory dump, or a system dump [1] consists of the recorded state of the working memory of a computer program at a certain time, usually when the program crashed or somehow ended abnormally" as an explanation on Wikipedia. Pls link https://en.wikipedia.org/wiki/Core_dump

I think this exception occurs because of java run out of memory.pls refer http://stackoverflow.com/questions/18078859/java-run-out-of-memory-issue 
+3
source

Source: https://habr.com/ru/post/1243826/


All Articles