Hi Team, I have setup an one node kafka on ec2 free instance which has 8 gb ram and 256 GB hdd. I have installed java 8 on ec2. When I am trying to start kafka getting error like
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x0000000700000000, 1073741824, 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 1073741824 bytes for committing reserved memory. # An error report file with more information is saved as: # /home/ubuntu/kafka_2.12-2.7.0/hs_err_pid1920.log I have increased the JAVA_HEAP but nothing happened. How to solve this problem? Looking forward to hearing from you.