You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/11/28 06:23:14 UTC

[GitHub] [pulsar] sijie commented on issue #5592: [Issue 5589][pulsar-function-go] Fix a memory leak of pulsar-function-go library

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:
users@infra.apache.org


With regards,
Apache Git Services