GitHub user srowen opened a pull request:
https://github.com/apache/spark/pull/19266
[SPARK-22033][CORE] BufferHolder, other size checks should account for the
specific VM array size limitations
## What changes were proposed in this pull request?
Try to avoid allocating an array bigger than Integer.MAX_VALUE - 8, which
is the actual max size on some JVMs, in several places
## How was this patch tested?
Existing tests
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/srowen/spark SPARK-22033
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/19266.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 #19266
----
commit 8dbfa30848b49a9fe4038c327222ddc9fd9a0ec0
Author: Sean Owen <[email protected]>
Date: 2017-09-18T14:59:40Z
Try to avoid allocating an array bigger than Integer.MAX_VALUE - 8, which
is the actual max size on some JVMs, in several places
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]