Skip to content

Commit

Permalink
fix oom in on-heap spill manager
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangli20 committed Feb 10, 2025
1 parent eba2d77 commit 6d6ae53
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ class OnHeapSpillManager(taskContext: TaskContext)

// we should have at least 10% free memory
val maxRatio = BlazeConf.ON_HEAP_SPILL_MEM_FRACTION.doubleConf()
memoryUsedRatio < maxRatio && jvmMemoryUsedRatio < maxRatio
memoryUsedRatio < maxRatio || jvmMemoryUsedRatio < maxRatio
}

/**
Expand Down

0 comments on commit 6d6ae53

Please sign in to comment.