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

block allocation using scratch buffers

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: WT1.0
    • Component/s: None
    • Labels:

      Description

      When we read from the cache, we want to keep the buffer the exact right size so we don't waste memory. Right now, we allocate a scratch buffer then swap the contents, and that's going to waste memory because the scratch buffer might be quite a bit larger than necessary.

      Put a malloc call back into the read path.

        Attachments

          Activity

            People

            Assignee:
            keith.bostic Keith Bostic
            Reporter:
            wiredtiger WiredTiger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: