[ https://issues.apache.org/jira/browse/SPARK-21090?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
liuxian updated SPARK-21090: ---------------------------- Description: 1.In *acquireStorageMemory*, when the MemoryMode is OFF_HEAP ,the *maxMemory* should be modified to *maxOffHeapStorageMemory* 2. Borrow memory from execution, *numBytes* modified to *numBytes - storagePool.memoryFree* will be more reasonable was: 1.In *acquireStorageMemory*, when the MemoryMode is OFF_HEAP ,the `maxMemory` should be modified to `maxOffHeapStorageMemory` 2. Borrow memory from execution, `numBytes` modified to `numBytes - storagePool.memoryFree` will be more reasonable > Optimize the unified memory manager code > ----------------------------------------- > > Key: SPARK-21090 > URL: https://issues.apache.org/jira/browse/SPARK-21090 > Project: Spark > Issue Type: Improvement > Components: Spark Core > Affects Versions: 2.3.0 > Reporter: liuxian > > 1.In *acquireStorageMemory*, when the MemoryMode is OFF_HEAP ,the *maxMemory* > should be modified to *maxOffHeapStorageMemory* > 2. Borrow memory from execution, *numBytes* modified to *numBytes - > storagePool.memoryFree* will be more reasonable -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org