BewareMyPower commented on pull request #12170:
URL: https://github.com/apache/pulsar/pull/12170#issuecomment-926995617
But here it swallows the exception and returns false. What would happen if
new messages arrived?
--
This is an automated message from the Apache Git Service.
To respond
BewareMyPower commented on pull request #12170:
URL: https://github.com/apache/pulsar/pull/12170#issuecomment-926750840
Could you explain why `clear()` could fix the memory exhausted problem?
Generally, for OOM issues, I suggest a fail fast solution. Otherwise, there
might be a memor