Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-4193

Lower the default maxReadBufferBytes for non-blocking servers

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.11.0
    • Java - Library
    • 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

          Activity

            People

              roshangeorge Roshan George
              roshangeorge Roshan George
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: