The exception is as below:

INFO  17:42:37 Index build of 
til_lineitem_productsku_item_id,til_lineitem_productsku_status complete
WARN  17:43:28 G1 Old Generation GC in 2906ms.  G1 Eden Space: 1560281088 -> 0; 
G1 Old Gen: 3033393144 -> 1127339984; G1 Survivor Space
: 150994944 -> 0;
INFO  17:43:28 Pool Name                    Active   Pending      Completed   
Blocked  All Time Blocked
Java HotSpot(TM) 64-Bit Server VM warning: INFO: 
os::commit_memory(0x00007f9f31a55000, 12288, 0) failed; error='Cannot allocate 
memory'
(errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 12288 bytes for committing 
reserved memory.
# An error report file with more information is saved as:
# /opt/apache-cassandra-3.0.9/bin/hs_err_pid8264.log
INFO  17:43:28 MutationStage                     1         0       55409726     
    0                 0

INFO  17:43:28 ViewMutationStage                 0         0              0     
    0                 0

INFO  17:43:28 ReadStage                         0         0              0     
    0                 0

INFO  17:43:28 RequestResponseStage              0         0             17     
    0                 0

Java HotSpot(TM) 64-Bit Server VM warning: INFO: 
os::commit_memory(0x00007f9f830d8000, 65536, 1) failed; error='Cannot allocate 
memory' (errno=12)INFO  17:43:28 ReadRepairStage                   0         0  
            0         0                 0


[thread 140321932023552 also had an error]
[thread 140321811961600 also had an error]
ERROR 17:43:28 Exception in thread Thread[CompactionExecutor:2482,1,main]
org.apache.cassandra.io.FSReadError: java.io.IOException: Map failed
        at org.apache.cassandra.io.util.ChannelProxy.map(ChannelProxy.java:156) 
~[apache-cassandra-3.0.9.jar:3.0.9]
        at 
org.apache.cassandra.io.util.MmappedRegions$State.add(MmappedRegions.java:280) 
~[apache-cassandra-3.0.9.jar:3.0.9]
        at 
org.apache.cassandra.io.util.MmappedRegions$State.access$400(MmappedRegions.java:216)
 ~[apache-cassandra-3.0.9.jar:3.0.9]

From: Abhishek Kumar Maheshwari
Sent: 22 March 2017 11:15
To: user@cassandra.apache.org
Subject: [Cassandra 3.0.9] Cannot allocate memory

Hi all,

I am using Cassandra 3.0.9. while I am adding new server after some time I am 
getting below exception. JVM option is attaches.
Hardware info:
Ram 64 GB.
Core: 40


Java HotSpot(TM) 64-Bit Server VM warning: INFO: 
os::commit_memory(0x00007fe9c44ee000, 12288, 0) failed; error='Cannot allocate 
memory' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 12288 bytes for committing 
reserved memory.
Java HotSpot(TM) 64-Bit Server VM warning: INFO: 
os::commit_memory(0x00007f5c056ab000, 12288, 0) failed; error='Cannot allocate 
memory' (errno=12)
[thread 140033204860672 also had an error]
Java HotSpot(TM) 64-Bit Server VM warning: INFO: 
os::commit_memory(0x00007f5c0566a000, 12288, 0) failed; error='Cannot allocate 
memory' (errno=12)
[thread 140033204594432 also had an error]Java HotSpot(TM) 64-Bit Server VM 
warning:
INFO: os::commit_memory(0x00007fe9c420c000, 12288, 0) failed; error='Cannot 
allocate memory' (errno=12)
Java HotSpot(TM) 64-Bit Server VM warning: [thread 140641994852096 also had an 
error]INFO: os::commit_memory(0x00007f5c055a7000, 12288, 0) failed; 
error='Cannot allocate memory' (errno=12)

Please let me know what I miss?

Thanks & Regards,
Abhishek Kumar Maheshwari
+91- 9999805591 (Mobile)
Times Internet Ltd. | A Times of India Group Company
FC - 6, Sector 16A, Film City,  Noida,  U.P. 201301 | INDIA
P Please do not print this email unless it is absolutely necessary. Spread 
environmental awareness.

Reply via email to