天天看点

Kafka Windows运行错误: Native memory allocation (mmap) failed to map 1073741824 bytes for Failed to comm

Java HotSpot(TM) 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000c0000000, 1073741824, 0) failed; error='页面文件太小,无法完成操作。' (DOS error/errno=1455)

#

# There is insufficient memory for the Java Runtime Environment to continue.

# Native memory allocation (mmap) failed to map 1073741824 bytes for Failed to commit area from 0x00000000c0000000 to 0x0000000100000000 of length 1073741824.

# An error report file with more information is saved as:

# C:\Kafka\kafka_2.11-2.3.0\hs_err_pid20904.log

出现以上错误,原因:内存不够了。