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

Include size in error messages when memory allocation fails

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT2.7.0
    • Component/s: None
    • Labels:
      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

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

                Dates

                Created:
                Updated:
                Resolved: