Hi,

I just tried to build the Camel trunk, but the compiler has ran out of
memory, at least on the first run:

[INFO] Compiling 4 source files to
C:\Projects\Dev\Libraries\apache-camel-1.4.0\
trunk\tooling\maven\camel-maven-plugin\target\classes
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure
Failure executing javac, but could not parse the error:


The system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError: Java heap space
        at java.util.zip.ZipEntry.initFields(Native Method)
        at java.util.zip.ZipEntry.<init>(ZipEntry.java:100)
        at java.util.zip.ZipFile$3.nextElement(ZipFile.java:437)
        at java.util.zip.ZipFile$3.nextElement(ZipFile.java:415)


Probably it's worthwhile to define a higher max heap size  (-Xmx)  in the
POM file for that module?...

Vlad

Reply via email to