-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] How to solve or optimize this problem [Client memory buffer is full] #17360
Comments
The default memoryLimit is 64M.
|
In fact, the size of each message is controlled within 64M. We judge the size of each message before sending it to the producer queue. But still found this problem again |
The issue had no activity for 30 days, mark with Stale label. |
@rogueVpedro FYI: 64MB is the total memory limit, not for each message. |
The issue had no activity for 30 days, mark with Stale label. |
Search before asking
Version
2.10.1 master
Minimal reproduce step
When we call the client for a long time, we find that the client is down and cannot send messages.
Then we got an exception while calling the client producer to send messages. (Maybe the frequency of use is too high)
Before asking, we have checked the relevant issues #15724 and #15691,but we still don't know how to avoid this situation.
And this is our process of creating producers
For the configuration of these two parameters(maxPendingMessages and memoryLimit), we set the default values . Btw,The JVM memory of the producer client is 10g and our server memory is 24g.When a problem occurs, out of heap memory is sufficient.
So,how to solve or optimize this problem [Client memory buffer is full]
What did you expect to see?
Avoid this problem, or recover to the original normal situation when the client hangs up.
What did you see instead?
Failing
Anything else?
We sincerely hope to solve this problem,
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: