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

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Minor - P4
    • 2.7.0
    • Affects Version/s: 2.0.0
    • Component/s: None
    • Fully Compatible
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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)

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

                Created:
                Updated:
                Resolved: