Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
AbstractNonblockingServerArgs sets the default maximum read buffer size to Long.MAX_VALUE. Almost every machine will probably OOME before it succeeds in hitting that maximum. It should have a lower maximum, perhaps 256 MB like the maximum frame size in the cpp implementation
Attachments
Issue Links
- links to
Github user roshan commented on the issue:
https://github.com/apache/thrift/pull/1264
It is configurable using the `maxReadBufferBytes` argument, but the default is just really high.