[ https://issues.apache.org/jira/browse/KAFKA-6898?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Doron Levi updated KAFKA-6898: ------------------------------ Comment: was deleted (was: I think there is a bug in class BufferPool, nonPooledAvailableMemory seems to never go up, even when memory is freed, when you return this.free.pollFirst() you should add back memory to nonPooledAvailableMemory (free memory should "live" either in this.free queue or in nonPooledAvailableMemory) ) > org.apache.kafka.common.errors.TimeoutException > ----------------------------------------------- > > Key: KAFKA-6898 > URL: https://issues.apache.org/jira/browse/KAFKA-6898 > Project: Kafka > Issue Type: Bug > Components: producer > Affects Versions: 0.10.2.0 > Environment: Production > Reporter: Rishi > Priority: Major > > Getting error > {code:java} > org.apache.kafka.common.errors.TimeoutException Failed to allocate memory > within the configured max blocking time 59927 ms.{code} > while publishing events to Kafka. We are using Kafka Java client 0.10.2.0 > with Kafka 0.10.1.0 broker. > This issue does not happen always but after certain time of applications > running in service, it starts happening and applications never recover from > this state until the producer instance is restarted. > The configuration of producer and on Kafka broker is default and hasn't been > changed. What should be the course of action for this issue. -- This message was sent by Atlassian Jira (v8.3.4#803005)