Details
-
Sub-task
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.8.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".)