jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bart van der Schans <b.vandersch...@onehippo.com>
Subject Re: [VOTE] Release Apache Jackrabbit 1.5.5
Date Mon, 27 Apr 2009 11:21:38 GMT
Hi,

>> - maven build succeeded for 1.4 and 1.5
>> - maven build failed for 1.6 in Jackrabbit Standalone
>> (java.lang.OutOfMemoryError: PermGen space)
>
> Hmm, we probably should pay some attention to the memory use of the
> build. Not a blocker though, we can fix this in trunk.

Configuring the compiler plugin to use the forked mode[1] with
something like this in the pom could help:

      <plugin>
        <inherited>true</inherited>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <fork>true</fork>
          <meminitial>128m</meminitial>
          <maxmem>256m</maxmem>
        </configuration>
      </plugin>

Regards,
Bart

[1] http://maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html#fork

-- 
Hippo B.V.  -  Amsterdam
Oosteinde 11, 1017 WT, Amsterdam, +31(0)20-5224466

Hippo USA Inc.  -  San Francisco
101 H Street, Suite Q, Petaluma CA, 94952-3329, +1 (707) 773-4646
-----------------------------------------------------------------
http://www.onehippo.com   -  info@onehippo.com
-----------------------------------------------------------------

Mime
View raw message