Repository: mahout
Updated Branches:
  refs/heads/master b25a70a1b -> eccbc4e1e


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/eccbc4e1
Tree: http://git-wip-us.apache.org/repos/asf/mahout/tree/eccbc4e1
Diff: http://git-wip-us.apache.org/repos/asf/mahout/diff/eccbc4e1

Branch: refs/heads/master
Commit: eccbc4e1eefb89d198633f4138870e1a64eacfea
Parents: b25a70a
Author: Andrew Musselman <[email protected]>
Authored: Fri Apr 8 17:08:16 2016 -0700
Committer: Andrew Musselman <[email protected]>
Committed: Fri Apr 8 17:08:16 2016 -0700

----------------------------------------------------------------------
 README.md | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mahout/blob/eccbc4e1/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 2ce2046..b5f6cb5 100644
--- a/README.md
+++ b/README.md
@@ -13,6 +13,11 @@ export MAHOUT_LOCAL=true # for running standalone on your 
dev machine,
 ```
 You will need a `$JAVA_HOME`, and if you are running on Spark, you will also 
need `$SPARK_HOME`
 
+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
+```
+
 ####Using Mahout as a Library
 Running any application that uses Mahout will require installing a binary or 
source version and setting the environment.
 To compile from source:

Reply via email to