Hello Community.
I’m trying to add one more node to my Managed Cluster. However, there is an error when uploading the “Server” service. The error showing is this:
[2024-03-06 14:53:25.114 UTC] [000091c3] [severe ] [java] [stderr] OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x0000001000800000, 33285996544, 0) failed; error=‘Not enough space’ (errno=12)
[2024-03-06 14:53:25.114 UTC] [000091c3] [info ] [java] [stdout] #
[2024-03-06 14:53:25.114 UTC] [000091c3] [info ] [java] [stdout] # There is insufficient memory for the Java Runtime Environment to continue.
[2024-03-06 14:53:25.114 UTC] [000091c3] [info ] [java] [stdout] # Native memory allocation (mmap) failed to map 33285996544 bytes for committing reserved memory.
I have already added memory to this No, but it always complains that it needs more memory.
Has anyone ever encountered an error like this?
Tks for help,
Cleber
Hello @cleber_sanches ,
is it possible to run the below command and provide us with the result?
cat /proc/meminfo
Hello @cleber_sanches
I would recommend following the Multi-node installation guidelines. I recently faced a weird issue with one of the customers due to the mismatch between the resources.
Regards,
Babar
Hi @Mohamed_Hamdy .
MemTotal: 98817580 kB
MemFree: 17065652 kB
MemAvailable: 31970060 kB
Buffers: 26672 kB
Cached: 15086264 kB
SwapCached: 0 kB
Active: 6154892 kB
Inactive: 9570808 kB
Active(anon): 617664 kB
Inactive(anon): 3016 kB
Active(file): 5537228 kB
Inactive(file): 9567792 kB
Unevictable: 0 kB
Mlocked: 0 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dirty: 420 kB
Writeback: 0 kB
AnonPages: 612788 kB
Mapped: 191816 kB
Shmem: 7916 kB
Slab: 564168 kB
SReclaimable: 460212 kB
SUnreclaim: 103956 kB
KernelStack: 8768 kB
PageTables: 9828 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 49408788 kB
Committed_AS: 1691056 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 397584 kB
VmallocChunk: 34359310332 kB
Percpu: 33280 kB
HardwareCorrupted: 0 kB
AnonHugePages: 391168 kB
CmaTotal: 0 kB
CmaFree: 0 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
DirectMap4k: 137024 kB
DirectMap2M: 8251392 kB
DirectMap1G: 94371840 kB
Tks,
Cleber
Not sure if its MemFree or MemAvailable we should be looking at but either case is still not enough
17065652 kB - MemFree
31970060 kB - MemAvailable
33285996 kB - Required by error
Native memory allocation (mmap) failed to map 33285996544 bytes for committing reserved memory.
SwapTotal: 0 kB
SwapFree: 0 kB
Also why is your swap 0. You may want to compare it with the other servers.
Hello @cleber_sanches ,
Try to increase MemAvailable, and make sure to check after rebooting the machine, also, the following link might be useful
https://stackoverflow.com/questions/48592602/native-memory-allocation-mmap-failed-to-map