Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

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

$
0
0
Hi, <%20users [ at ] kafka.apache.org

Why oh whhy can I nt start kafka 8? I am on a machine with 512 megs of ram
on digi ocean. What does one have to do to get kafka to work?

root [ at ] do-kafka-sf-development-20140130051956: export
KAFKA_HEAP_OPTS="-Xmx256M -Xms128M
root [ at ] do-kafka-sf-development-20140130051956:/etc/supervisor/conf.d#
/var/lib/kafka-0.8.0-src/bin/kafka-server-start.sh
/var/lib/kafka-0.8.0-src/config/server.properties
OpenJDK 64-Bit Server VM warning: INFO:
os::commit_memory(0x00000000bad30000, 986513408, 0) failed; error='Cannot
allocate memory' (errno=12)

# 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:
# /etc/supervisor/conf.d/hs_err_pid17533.log

Thanks

Viewing all articles
Browse latest Browse all 5648

Trending Articles