FLUME-1696: Update build instructions as Flume build requires more memory (Brock Noland via Brock Noland)
Project: http://git-wip-us.apache.org/repos/asf/flume/repo Commit: http://git-wip-us.apache.org/repos/asf/flume/commit/fc5e3506 Tree: http://git-wip-us.apache.org/repos/asf/flume/tree/fc5e3506 Diff: http://git-wip-us.apache.org/repos/asf/flume/diff/fc5e3506 Branch: refs/heads/FLUME-1502 Commit: fc5e35060e57838cbbc61855959e0a0b156e3fe1 Parents: 753387c Author: Brock Noland <[email protected]> Authored: Mon Nov 12 11:37:58 2012 -0600 Committer: Brock Noland <[email protected]> Committed: Mon Nov 12 11:37:58 2012 -0600 ---------------------------------------------------------------------- README | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flume/blob/fc5e3506/README ---------------------------------------------------------------------- diff --git a/README b/README index c4063f4..23150d3 100644 --- a/README +++ b/README @@ -39,6 +39,11 @@ Compiling Flume requires the following tools: * Oracle Java JDK 1.6 * Apache Maven 3.x +Note: The Apache Flume build requires more memory than the default configuration. +We recommend you set the following Maven options: + +export MAVEN_OPTS="-Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m + To compile Flume, run `mvn compile`. To build a distribution, run `mvn install`.
