【发布时间】:2014-02-22 07:23:54
【问题描述】:
我正在使用具有 512 兆内存的 DigiOcean 实例,我在使用 kafka 时遇到以下错误。 我不是一个精通java的开发人员。如何调整 kafka 以利用少量 ram。这是一个开发服务器。我不想为更大的机器支付更多的每小时费用。
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 986513408 bytes for committing reserved memory.
# An error report file with more information is saved as:
# //hs_err_pid6500.log
OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000bad30000, 986513408, 0) failed; error='Cannot allocate memory' (errno=12)
【问题讨论】:
标签: java apache-kafka