Repository: incubator-zeppelin Updated Branches: refs/heads/master 92e0454b0 -> 08e22f364
[ZEPPELIN-489] Getting a java.lang.OutOfMemoryError: PermGen space in maven build ### What is this PR for? Add note for configuring maven memory setting to prevent the lack of PermGen space ### What type of PR is it? [Documentation] ### Is there a relevant Jira issue? https://issues.apache.org/jira/browse/ZEPPELIN-489 ### How should this be tested? Just check the ```README.md``` ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? No Author: AllenFang <[email protected]> Closes #622 from AllenFang/ZEPPELIN-489 and squashes the following commits: 76217f0 [AllenFang] add notes for configuring maven memory Project: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/commit/08e22f36 Tree: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/tree/08e22f36 Diff: http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/diff/08e22f36 Branch: refs/heads/master Commit: 08e22f3645d042f0399361dbc4da3e0d2800e8c6 Parents: 92e0454 Author: AllenFang <[email protected]> Authored: Tue Jan 12 14:57:14 2016 +0800 Committer: Lee moon soo <[email protected]> Committed: Mon Jan 18 09:52:29 2016 -0800 ---------------------------------------------------------------------- README.md | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-zeppelin/blob/08e22f36/README.md ---------------------------------------------------------------------- diff --git a/README.md b/README.md index 67ee0b6..20f5dda 100644 --- a/README.md +++ b/README.md @@ -45,6 +45,7 @@ sudo ln -s /usr/local/apache-maven-3.3.3/bin/mvn /usr/local/bin/mvn _Notes:_ - Ensure node is installed by running `node --version` - Ensure maven is running version 3.1.x or higher with `mvn -version` + - Configure maven to use more memory than usual by ```export MAVEN_OPTS="-Xmx2g -XX:MaxPermSize=1024m"``` ### Build If you want to build Zeppelin from the source, please first clone this repository, then:
