flume-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mpe...@apache.org
Subject svn commit: r1360064 - /flume/trunk/DEVNOTES
Date Wed, 11 Jul 2012 08:46:43 GMT
Author: mpercy
Date: Wed Jul 11 08:46:43 2012
New Revision: 1360064

URL: http://svn.apache.org/viewvc?rev=1360064&view=rev
Add MAVEN_OPTS build workaround to DEVNOTES for 1.2.0


Modified: flume/trunk/DEVNOTES
URL: http://svn.apache.org/viewvc/flume/trunk/DEVNOTES?rev=1360064&r1=1360063&r2=1360064&view=diff
--- flume/trunk/DEVNOTES (original)
+++ flume/trunk/DEVNOTES Wed Jul 11 08:46:43 2012
@@ -39,6 +39,23 @@ We are using Maven v3.x.  The Maven buil
 to create build artefacts.  At the highest level, the phases that are relevent
 to most devs are "compile" -> "test" -> "package" -> "install".
+Set MAVEN_OPTS to give the Flume build enough RAM to build.
+  export MAVEN_OPTS="-Xmx512M -XX:MaxPermSize=512M"
+Note: If you see a permgen error (below), you need to increase the perm gen size.
+[ERROR] PermGen space -> [Help 1]
+[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
+[ERROR] Re-run Maven using the -X switch to enable full debug logging.
+[ERROR] For more information about the errors and possible solutions, please read the following
+[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/OutOfMemoryError
 A development build that runs unit tests and installs to local Maven repo.
 This builds and tests all plugins.

View raw message