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

On out of memory condition we should issue a dump file before an attempt to format the problem to mogod logfile

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Diagnostics, Logging

      On a single replica set mongod or SA

      Version:
      db version v3.1.6-pre-
      git version: 63863aefa21b33e6f84b8b466f70581dd921dba7
      OpenSSL version: OpenSSL 1.0.1p-fips 9 Jul 2015

      Environment: Windows

      When machine get to out of memory condition, we don't have the resources to format the symbols and print the problem to our trace file (required additional load module and string allocations...).

      It will be better if we will issue the dump before trying to format, this will help us to understand the problem

      currently implementation

      printWindowsStackTrace(contextCopy);
      doMinidumpWithException(excPointers);
      

      i suggest to switch the order minidump should be first

            Assignee:
            Unassigned Unassigned
            Reporter:
            eitan.klein Eitan Klein
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: