I have these maven opts and build with maven 3.0.4 and it works fine declare -x MAVEN_OPTS="-Xmx1024m -XX:MaxPermSize=512m"
On Thu, Jan 16, 2014 at 10:05 PM, MichaelAtSAG <mebevilac...@gmail.com> wrote: > I ran it again with 2GB and hit compile exception at same point: > > set MAVEN_OPTS=-Xms528m -Xmx2024m > > Failure: > > [INFO] > ------------------------------------------------------------------------ > [INFO] Building Camel :: Web 2.13-SNAPSHOT > [INFO] > ------------------------------------------------------------------------ > [INFO] > [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ camel-web --- > [INFO] Deleting D:\source\camel\components\camel-web\target > [INFO] > [INFO] --- maven-bundle-plugin:2.3.7:cleanVersions (versions) @ camel-web > --- > [INFO] > [INFO] --- maven-antrun-plugin:1.6:run (process-sources) @ camel-web --- > [INFO] Executing tasks > > main: > [echo] Copying to code together for the XSD generation > [mkdir] Created dir: > D:\source\camel\components\camel-web\target\schema-src > [mkdir] Created dir: D:\source\camel\components\camel-web\target\schema > [copy] Copying 5 files to > D:\source\camel\components\camel-web\target\schema-src > [echo] Generating XSD schema > [schemagen] > D:\source\camel\components\camel-web\target\antrun\build-main.xml:18: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > [schemagen] Generating schema from 5 source files > [INFO] Executed tasks > [INFO] > [INFO] --- maven-remote-resources-plugin:1.4:process (default) @ camel-web > --- > [INFO] > [INFO] >>> camel-package-maven-plugin:2.13-SNAPSHOT:generate-components-list > (default) @ camel-web >>> > [INFO] > [INFO] --- maven-bundle-plugin:2.3.7:cleanVersions (versions) @ camel-web > --- > [INFO] > [INFO] --- maven-antrun-plugin:1.6:run (process-sources) @ camel-web --- > [INFO] Executing tasks > > main: > [echo] Copying to code together for the XSD generation > [echo] Generating XSD schema > [schemagen] > D:\source\camel\components\camel-web\target\antrun\build-main.xml:18: > warning: 'includeantruntime' was not set, defaulting to > build.sysclasspath=last; set to false for repeatable builds > [schemagen] Generating schema from 5 source files > [INFO] Executed tasks > [INFO] > [INFO] --- maven-remote-resources-plugin:1.4:process (default) @ camel-web > --- > [INFO] > [INFO] <<< camel-package-maven-plugin:2.13-SNAPSHOT:generate-components-list > (default) @ camel-web <<< > [INFO] > [INFO] --- camel-package-maven-plugin:2.13-SNAPSHOT:generate-components-list > (default) @ camel-web --- > [INFO] > [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ > camel-web --- > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] Copying 7 resources > [INFO] Copying 3 resources > [INFO] > [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ camel-web > --- > [INFO] Compiling 28 source files to > D:\source\camel\components\camel-web\target\classes > [INFO] > [INFO] --- maven-scalate-plugin_2.10:1.6.1:precompile (default) @ camel-web > --- > [INFO] No bootstrap class scalate.Boot found on classloader: > java.net.URLClassLoader@5509ba7e > [INFO] Precompiling Scalate Templates into Scala classes... > [INFO] processing > D:\source\camel\components\camel-web\src\main\webapp\WEB-INF\scalate\layouts\default.scaml > [INFO] processing > D:\source\camel\components\camel-web\src\main\webapp\WEB-INF\scalate\error.scaml > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary: > [INFO] > [INFO] Camel ............................................. SUCCESS [1.323s] > [INFO] Camel :: Parent ................................... SUCCESS [1.211s] > [INFO] Camel :: Buildtools ............................... SUCCESS [0.735s] > [INFO] Camel :: Tooling .................................. SUCCESS [0.110s] > [INFO] Camel :: SPI Annotations .......................... SUCCESS [1.334s] > [INFO] Camel :: Annotation Processor ..................... SUCCESS [1.015s] > [INFO] Camel :: Maven Plugins ............................ SUCCESS [0.174s] > [INFO] Camel :: Maven Plugins :: Camel Package ........... SUCCESS [3.206s] > [INFO] Camel :: Core ..................................... SUCCESS > [2:00.985s] > [INFO] Camel :: Components ............................... SUCCESS [0.758s] > [INFO] Camel :: Test ..................................... SUCCESS [7.090s] > [INFO] Camel :: Core XML ................................. SUCCESS [3.716s] > [INFO] Camel :: Core OSGi ................................ SUCCESS [3.570s] > [INFO] Camel :: Spring ................................... SUCCESS [27.866s] > [INFO] Camel :: Test :: Spring ........................... SUCCESS [4.072s] > [INFO] Camel :: TestNG ................................... SUCCESS [4.175s] > [INFO] Camel :: Blueprint ................................ SUCCESS [7.090s] > [INFO] Camel :: Test Blueprint ........................... SUCCESS [4.556s] > [INFO] Camel :: JUEL ..................................... SUCCESS [2.613s] > [INFO] Camel :: BAM ...................................... SUCCESS [3.629s] > [INFO] Camel :: Groovy ................................... SUCCESS [3.986s] > [INFO] Camel :: JXPath ................................... SUCCESS [2.584s] > [INFO] Camel :: Velocity ................................. SUCCESS [3.396s] > [INFO] Camel :: Scala .................................... SUCCESS [41.227s] > [INFO] Camel :: HTTP ..................................... SUCCESS [4.421s] > [INFO] Camel :: HTTP4 (HttpClient 4.x) ................... SUCCESS [6.626s] > [INFO] Camel :: Jetty .................................... SUCCESS [10.992s] > [INFO] Camel :: CXF :: Transport ......................... SUCCESS [9.467s] > [INFO] Camel :: Spring JavaConfig ........................ SUCCESS [3.045s] > [INFO] Camel :: JAXB ..................................... SUCCESS [5.234s] > [INFO] Camel :: CXF ...................................... SUCCESS [22.514s] > [INFO] Camel :: Web ...................................... FAILURE [15.373s] > [INFO] Camel :: Web :: Standalone ........................ SKIPPED > [INFO] Camel :: JMS ...................................... SKIPPED > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/JVM-is-running-out-of-memory-during-full-Camel-build-tp5746106p5746107.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Claus Ibsen ----------------- Red Hat, Inc. Email: cib...@redhat.com Twitter: davsclaus Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen Make your Camel applications look hawt, try: http://hawt.io