GitHub user 10110346 opened a pull request: https://github.com/apache/spark/pull/20596
[SPARK-23404][CORE]When the underlying buffers are direct, we should copy them to the heap memory ## What changes were proposed in this pull request? If the memory mode is `ON_HEAP`,when the underlying buffers are direct, we should copy them to the heap memory. ## How was this patch tested? N/A You can merge this pull request into a Git repository by running: $ git pull https://github.com/10110346/spark directtooffheap Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/20596.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #20596 ---- commit 1f5d5ffbfe20c159fcf56d67ec230b05b06046a1 Author: liuxian <liu.xian3@...> Date: 2018-02-13T07:36:08Z fix ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org