MongoDB allocate and free too much memory

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.4.4
    • Component/s: None
    • None
    • ALL
    • Hide

      1) Insert 50000000 documents in the test collection.
      2) Query all documents with several client threads
      3) Check linux memory usage

      Show
      1) Insert 50000000 documents in the test collection. 2) Query all documents with several client threads 3) Check linux memory usage
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      When few queries process many documents (for example, full collection scan),
      MongoDB allocate and deallocate too much memory. So after few full scan query, free memory of linux is decreased and eventually linux use swap space.

      Take a look at the attached graph.

      And this case happen very often. I think you can reproduce this case easily.

            Assignee:
            Mark Agarunov (Inactive)
            Reporter:
            아나 하리
            Votes:
            0 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: