sijie commented on issue #5592: [Issue 5589][pulsar-function-go] Fix a memory leak of pulsar-function-go library URL: https://github.com/apache/pulsar/pull/5592#issuecomment-559359000 @Sunkwan-Kwon sorry for missing your comment. I am not sure the fix is correct. > During the test, I faced ProducerQueueIsFull error with --log-topic option. And I observed indefinitely grown memory usage of the pulsar function worker process. From your test, it seems to be me that the producer used for sending messages to log topic doesn't process the messages fast enough and blockIfQueueFull is set to true, so the messages are accumulating. So a proper fix is increase the maxPendingMessage for the log topic producer and set `blockIfQueueFull` to `false`.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services