Google News
logo
Kafka - Interview Questions
What causes OutOfMemoryException?
OutOfMemoryException can occur if the consumers are sending large messages or if there is a spike in the number of messages wherein the consumer is sending messages at a rate faster than the rate of downstream processing. This causes the message queue to fill up, taking up memory.
Advertisement