Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-3061

[Java] headroom does not take into account reservation

    XMLWordPrintableJSON

Details

    Description

      It looks like BufferAllocator#getHeadroom() does not take into account current allocator reservation. For example if a parent allocator has a limit of 10, and a child allocator is created with a reservation of 6, the headroom of the parent is 4, and the current headroom will report 4, but the actual headroom is 10 because the child has no memory used and so can use the full extend of its reservation on top of what the parent allocator can allocate

      Attachments

        Issue Links

          Activity

            People

              laurent Laurent Goujon
              laurent Laurent Goujon
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m