Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-2050

Include size in error messages when memory allocation fails

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • WT2.7.0
    • None
    • None

    Description

      If a malloc or realloc call fails, it would sometimes be useful to know whether we're trying to allocate 100 bytes or 100MB. Add the size to the relevant error message.

      Attachments

        Issue Links

          Activity

            People

              david.hows David Hows
              michael.cahill@mongodb.com Michael Cahill
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: