Kafka Manager OutOfMemoryError : java heap space?
Kafka Manager OutOfMemoryError : java heap space?
kafka manager |
Error:
[ERROR] a.a.ActorSystemImpl - Uncaught error from thread [kafka-manager-system-scheduler-1]: Java hea space, shutting down JVM since 'akka.jvm-exit-on-fatal-error' is enabled for ActorSystem[kafka-manager-system]
java.lang.OutOfMemoryError: Java heap space
What is Kafka Manager:
Kafka Manager is A tool for managing Apache Kafka. It supports the following :- Manage multiple clusters
- Easy inspection of cluster state (topics, consumers, offsets, brokers, replica distribution, partition distribution)
- Run preferred replica election
- Generate partition assignments with option to select brokers to use
- Run reassignment of partition (based on generated assignments)
- Create a topic with optional topic configs (0.8.1.1 has different configs than 0.8.2+)
- Delete topic (only supported on 0.8.2+ and remember set delete.topic.enable=true in broker config) and many more. You can download the source code from here.
The default JVM heap sizes are ok when you start, but JVM do hit heap memory issues when load increases. To add more heap memory to kafka-manager process you need to pass these parameters in runtime.
[root@kafka-manager]#bin/kafka-manager -J-Xms7g -J-Xmx7g
No comments