Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Add MAVEN_OPTS build workaround to DEVNOTES for 1.2.0

git-svn-id: https://svn.apache.org/repos/asf/flume/trunk@1360064 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
commit 2c486a309235120d197c8b36f93c15a51d97a8cf 1 parent 6641c32
Mike Percy authored July 11, 2012

Showing 1 changed file with 17 additions and 0 deletions. Show diff stats Hide diff stats

  1. 17  DEVNOTES
17  DEVNOTES
@@ -39,6 +39,23 @@ We are using Maven v3.x.  The Maven build system steps through several phases
39 39
 to create build artefacts.  At the highest level, the phases that are relevent
40 40
 to most devs are "compile" -> "test" -> "package" -> "install".
41 41
 
  42
+Set MAVEN_OPTS to give the Flume build enough RAM to build.
  43
+
  44
+  export MAVEN_OPTS="-Xmx512M -XX:MaxPermSize=512M"
  45
+
  46
+Note: If you see a permgen error (below), you need to increase the perm gen size.
  47
+
  48
+[ERROR] PermGen space -> [Help 1]
  49
+[ERROR] 
  50
+[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  51
+[ERROR] Re-run Maven using the -X switch to enable full debug logging.
  52
+[ERROR] 
  53
+[ERROR] For more information about the errors and possible solutions, please read the following articles:
  54
+[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/OutOfMemoryError
  55
+
  56
+Builds
  57
+------
  58
+
42 59
 A development build that runs unit tests and installs to local Maven repo.
43 60
 This builds and tests all plugins.
44 61
 

0 notes on commit 2c486a3

Please sign in to comment.
Something went wrong with that request. Please try again.