You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by GitBox <gi...@apache.org> on 2022/10/28 13:18:18 UTC

[GitHub] [rocketmq] nowinkeyy commented on issue #5417: consumeExecutor use LinkedBlockingQueue which is not bounded as param of ThreadPoolExecutor

nowinkeyy commented on issue #5417:
URL: https://github.com/apache/rocketmq/issues/5417#issuecomment-1294990658

   Hi @xiaobing395845388 ,
   IMO, you mean unbounded ```LinkedBlockingQueue```, and ```consumeThreadMax```  is too small resulting in OOM.
   My suggestion is to increase the value of ```consumeThreadMax``` to speed up message processing and decrease the value of ```pullThresholdForQueue``` to reduce the number of messages cached by the client.


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org