ting-xu commented on issue #1455:
URL: 
https://github.com/apache/pulsar-client-go/issues/1455#issuecomment-4586410708

   @nodece i don't go into the full code detail again.
   Your fix could avoid High CPU usage, but I guess it still stuck and deadlock 
not eliminate. 
   
   Once enough running goroutines enter such a point at the same time: 
    - memory limit is reached by consumers,
    - produers are trying to get memory to publish (sync block)
    - only when a producer publish successfully, its goroutine could continue 
and incomng processing message could be acked, then the memory could decrease
   It seems just fast return from a loop cannot solve the problem.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to