Github user zsxwing commented on a diff in the pull request: https://github.com/apache/spark/pull/11943#discussion_r57385602 --- Diff: core/src/main/scala/org/apache/spark/memory/MemoryManager.scala --- @@ -176,6 +177,7 @@ private[spark] abstract class MemoryManager( if (conf.getBoolean("spark.memory.offHeap.enabled", false)) { require(conf.getSizeAsBytes("spark.memory.offHeap.size", 0) > 0, "spark.memory.offHeap.size must be > 0 when spark.memory.offHeap.enabled == true") + require(Platform.unaligned(), "No support for unaligned Unsafe") --- End diff -- Could you add a better instruction for the user? E.g., tell them to set spark.memory.offHeap.enabled to false.
--- 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