MAHOUT-1766: Increase default PermGen size for spark-shell
Project: http://git-wip-us.apache.org/repos/asf/mahout/repo Commit: http://git-wip-us.apache.org/repos/asf/mahout/commit/1aae3321 Tree: http://git-wip-us.apache.org/repos/asf/mahout/tree/1aae3321 Diff: http://git-wip-us.apache.org/repos/asf/mahout/diff/1aae3321 Branch: refs/heads/master Commit: 1aae3321b554adaf18f6c56abe1d7e4835c13cab Parents: a210111 Author: Andrew Musselman <[email protected]> Authored: Fri Apr 8 17:04:35 2016 -0700 Committer: Andrew Musselman <[email protected]> Committed: Fri Apr 8 17:04:35 2016 -0700 ---------------------------------------------------------------------- README.txt | 4 ++++ 1 file changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mahout/blob/1aae3321/README.txt ---------------------------------------------------------------------- diff --git a/README.txt b/README.txt index 6a0fa99..2c820b4 100644 --- a/README.txt +++ b/README.txt @@ -16,3 +16,7 @@ Legal Documentation See http://mahout.apache.org/ + +Note when running the spark-shell job it can help to set some JVM options so +you don't run out of memory: + `$MAHOUT_OPTS="-Xmx6g -XX:MaxPermSize=512m" mahout spark-shell`
