srowen commented on a change in pull request #23457: [SPARK-26539][CORE] Remove
spark.memory.useLegacyMode and StaticMemoryManager
URL: https://github.com/apache/spark/pull/23457#discussion_r245425870
##########
File path: core/src/test/scala/org/apache/spark/storage/MemoryStoreSuite.scala
##########
@@ -61,7 +60,7 @@ class MemoryStoreSuite
}
def makeMemoryStore(maxMem: Long): (MemoryStore, BlockInfoManager) = {
- val memManager = new StaticMemoryManager(conf, Long.MaxValue, maxMem,
numCores = 1)
+ val memManager = new UnifiedMemoryManager(conf, maxMem, (0.4 *
maxMem).toInt, 1)
Review comment:
This mimics the behavior of the old memory manager with
spark.storage.unrollFraction=0.4
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]