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

Include size in error messages when memory allocation fails

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • WT2.7.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      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.

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

              Created:
              Updated:
              Resolved: