You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by ar...@apache.org on 2013/09/22 20:23:24 UTC
svn commit: r1525410 - in /hadoop/common/branches/HDFS-2832: ./ BUILDING.txt
Author: arp
Date: Sun Sep 22 18:23:22 2013
New Revision: 1525410
URL: http://svn.apache.org/r1525410
Log:
Merging r1524587 through r1525408 from trunk to branch HDFS-2832.
Modified:
hadoop/common/branches/HDFS-2832/ (props changed)
hadoop/common/branches/HDFS-2832/BUILDING.txt
Propchange: hadoop/common/branches/HDFS-2832/
------------------------------------------------------------------------------
Merged /hadoop/common/trunk:r1524587-1525408
Modified: hadoop/common/branches/HDFS-2832/BUILDING.txt
URL: http://svn.apache.org/viewvc/hadoop/common/branches/HDFS-2832/BUILDING.txt?rev=1525410&r1=1525409&r2=1525410&view=diff
==============================================================================
--- hadoop/common/branches/HDFS-2832/BUILDING.txt (original)
+++ hadoop/common/branches/HDFS-2832/BUILDING.txt Sun Sep 22 18:23:22 2013
@@ -4,8 +4,8 @@ Build instructions for Hadoop
Requirements:
* Unix System
-* JDK 1.6
-* Maven 3.0
+* JDK 1.6+
+* Maven 3.0 or later
* Findbugs 1.3.9 (if running findbugs)
* ProtocolBuffer 2.5.0
* CMake 2.6 or newer (if compiling native code)
@@ -149,6 +149,21 @@ Create a local staging version of the we
----------------------------------------------------------------------------------
+Handling out of memory errors in builds
+
+----------------------------------------------------------------------------------
+
+If the build process fails with an out of memory error, you should be able to fix
+it by increasing the memory used by maven -which can be done via the environment
+variable MAVEN_OPTS.
+
+Here is an example setting to allocate between 256 and 512 MB of heap space to
+Maven
+
+export MAVEN_OPTS="-Xms256m -Xmx512m"
+
+----------------------------------------------------------------------------------
+
Building on OS/X
----------------------------------------------------------------------------------