[
https://issues.apache.org/jira/browse/ROCKETMQ-323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
vongosling closed ROCKETMQ-323.
-------------------------------
Resolution: Fixed
> Release semaphore after callback being finished for async invoke
> ----------------------------------------------------------------
>
> Key: ROCKETMQ-323
> URL: https://issues.apache.org/jira/browse/ROCKETMQ-323
> Project: Apache RocketMQ
> Issue Type: Improvement
> Components: rocketmq-client
> Affects Versions: 4.0.0-incubating, 4.1.0-incubating
> Reporter: yukon
> Assignee: yukon
> Fix For: 4.2.0
>
>
> Currently, the async semaphore will be released before invoking the callback,
> if the callback is a heavy task which is not recommended, lots of async
> requests will be queued in `publicExecutor` thread pool, may cause OOM or FGC.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)