Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-13185

too much (virtual) memory allocated on getmore under edge condition

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.7.0
    • Component/s: None
    • Backwards Compatibility:
      Fully Compatible

      Description

      large BufBuilder (4mb) is malloc'd ahead of acquiring DBRead lock. if thousands of clients, waiting on a slow write, the allocated bytes would be gigabytes.

      this would mostly just be virtual memory i guess, but still not a good thing. (and behavior could vary by operating system virtual memory manager)

        Attachments

          Activity

            People

            Assignee:
            dwight_10gen Dwight Merriman
            Reporter:
            dwight_10gen Dwight Merriman
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: