Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

JVM is running out of memory during full Camel build

$
0
0
Hi,

I just tried to build the Camel trunk, but the compiler continues to ran out
of
memory. Note that I have modified Maven options to 1GB of memory:

d:\source\camel>set MAVEN_OPTS=-Xms128m -Xmx1024m
d:\source\camel>mvn clean install -Pfastinstall

Does Maven need more memory? The private working set of Memory never
exceeded 500MB while compiling.
Is there a command to just compile the twitter component?

Failure:

[schemagen]
D:\source\camel\components\camel-web\target\antrun\build-main.xml:18:
warning: 'includean
[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 [ at ] 45d90e99
[INFO] Precompiling Scalate Templates into Scala classes...
[INFO] processing
D:\source\camel\components\camel-web\src\main\webapp\WEB-INF\scalate\layouts\de
[INFO] processing
D:\source\camel\components\camel-web\src\main\webapp\WEB-INF\scalate\error.scam
[INFO]

Viewing all articles
Browse latest Browse all 5648

Trending Articles