Hi all,

I am facing a OutofMemory issue while running the kafka server.
My zookeeper is running fine but getting below error while running kafka
server:

 at kafka.server.KafkaRequestHandler.run(KafkaRequestHandler.scala:74)
        at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.OutOfMemoryError: Map failed
        at sun.nio.ch.FileChannelImpl.map0(Native Method)
        ... 33 more

I am working on Windows10 OS. After googling,I have changed the
server.start.sh file as:

if [ "x$KAFKA_HEAP_OPTS" = "x" ]; then
    export KAFKA_HEAP_OPTS="-Xmx512M -Xms512M"
fi

But it still not working. My java is 64bit only and everything else is also
according to requirement.

Please help me in resolving this issue.

Thanks,
Isha

Reply via email to