Recommended -Xmx and -Xms options for kafka + zookeeper

Hi. What are recommended -Xmx and -Xms options for kafka + zookeeper running on a single node with 32gb ram?

I believe 8 GB should be good for most cases. Is there a problem you are trying to solve?

8GB for both -Xmx and -Xms for kafka?
What about zookeeper? How much does it need?

Sure why not. 4g should be more than enough for zk I suppose. you are running both on the same box. Are you running anything else that could take away memory from kafka/zk?

These are just suggestion since I have no idea about your traffic or your setup