Github user cloud-fan commented on a diff in the pull request: https://github.com/apache/spark/pull/17436#discussion_r111101490 --- Diff: core/src/test/scala/org/apache/spark/memory/StaticMemoryManagerSuite.scala --- @@ -48,7 +48,10 @@ class StaticMemoryManagerSuite extends MemoryManagerSuite { conf.clone .set("spark.memory.fraction", "1") .set("spark.testing.memory", maxOnHeapExecutionMemory.toString) - .set("spark.memory.offHeap.size", maxOffHeapExecutionMemory.toString), + .set("spark.memory.offHeap.size", + if (maxOffHeapExecutionMemory != 0L) { maxOffHeapExecutionMemory.toString } else { + conf.get("spark.memory.offHeap.size", maxOffHeapExecutionMemory.toString) --- End diff -- can we just change the default value of `maxOffHeapExecutionMemory` from 0 to something like 1000?
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org