Skip to content

Commit c3d0f61

Browse files
committed
Fix compilation issue.
1 parent 61d220b commit c3d0f61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/scala/org/apache/spark/storage/memory/MemoryStore.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ private[spark] class MemoryStore(
354354
// Synchronize so that transfer is atomic
355355
memoryManager.synchronized {
356356
releaseUnrollMemoryForThisTask(unrollMemoryUsedByThisBlock)
357-
val success = memoryManager.acquireStorageMemory(blockId, entry.size)
357+
val success = memoryManager.acquireStorageMemory(blockId, entry.size, MemoryMode.ON_HEAP)
358358
assert(success, "transferring unroll memory to storage memory failed")
359359
}
360360
entries.synchronized {

0 commit comments

Comments
 (0)