[GitHub] [pulsar] BewareMyPower commented on pull request #12170: [pulsar-java-client] Auto-recovery after exception like out of direct memory

2021-09-24 Thread GitBox
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

[GitHub] [pulsar] BewareMyPower commented on pull request #12170: [pulsar-java-client] Auto-recovery after exception like out of direct memory

2021-09-24 Thread GitBox
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