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

Private pages accumulate in Windows RAM and page file when journaling

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.0.4
    • Fix Version/s: 2.0.7, 2.1.1
    • Component/s: Performance, Stability
    • Labels:
    • Environment:
      Windows
    • Operating System:
      Windows

      Description

      The remapPrivateView() routine in Windows in version 2.0.x, used when journaling is enabled, uses VirtualProtect() to try to restore CopyOnWrite pages to their original condition. This doesn't accomplish its goal and instead causes private pages to accumulate, consuming page file space. remapPrivateView() needs to unmap and remap the private view to prevent this accumulation.

      This ticket summarizes the visible symptoms and the fix for those symptoms. Making this change reintroduces SERVER-2942 until the unmapping and remapping can be made completely reliable.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tad Tad Marshall
                Reporter:
                tad Tad Marshall
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: