Java Crashes with Message "Native memory allocation (mmap) failed to map nnnnnnn bytes for committing reserved memory."
(Doc ID 2521041.1)
Last updated on MAY 03, 2023
Applies to:
Java SE JDK and JRE - Version 8 and laterOracle Cloud Infrastructure - Version N/A to N/A [Release 1.0]
Oracle Application Object Library - Version 12.2.12 to 12.2.12 [Release 12.2]
Information in this document applies to any platform.
Symptoms
A JVM crashes when trying to allocate native memory. The following HotSpot Error log (hs_err_pid<PID>.log) snippet shows the interesting error:
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |