XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.8.0
    • 1.11.0
    • None
    • None

    Description

      The memory limit cases for the spill-needed test seem inconsistent:

      For the test for in-memory sort:

          long currentlyAvailable =  popConfig.getMaxAllocation() - oAllocator.getAllocatedMemory();
      

      For reaching the memory limit:

      oAllocator.getAllocatedMemory() > .95 * oAllocator.getLimit()
      

      That is, one uses oAllocator.getLimit ("the current maximum limit this allocator imposes"), the other uses popConfig.getMaxAllocation ("The maximum memory this operator can allocate".)

      Attachments

        Activity

          People

            paul-rogers Paul Rogers
            paul-rogers Paul Rogers
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: