Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mohsaka committed Mar 14, 2024
1 parent 6308716 commit 6469101
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion velox/common/memory/MemoryAllocator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ bool MemoryAllocator::allocateNonContiguous(
numPages, out, reservationCB, minSizeClass);
}
const bool success = cache()->makeSpace(
pagesToAcquire(numPages, out.numPages()) + (cacheAllocation ? 10485760 : 0), [&](Allocation& acquired) {
pagesToAcquire(numPages, out.numPages()) + (cacheAllocation ? 5242880 : 0), [&](Allocation& acquired) {
freeNonContiguous(acquired);
return allocateNonContiguousWithoutRetry(
numPages, out, reservationCB, minSizeClass);
Expand Down

0 comments on commit 6469101

Please sign in to comment.