cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grzegorz Kossakowski <g...@tuffmail.com>
Subject Re: What's up with 2.2 ?
Date Fri, 19 Jan 2007 17:24:36 GMT
Jean-Christophe Kermagoret napisaƂ(a):
> Hi,
> happy to hear theses news.
>
> I tried your command but I now have the following error :
>
> <snip/>
> 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
>
>
> <snip/>
> I'm using a MacBookPro with 2Gb...
>
> Where does this error come from ?
I've encountered exactly the same error trying to build fresh trunk
checkout today. The quick solution that worked is increasing Java's heap
memory (default 64mb for Maven). You can do this by setting environment
variable MAVEN_OPTS to '-Xmx=256m' for e.g.  Anyway, it would be good 
if someone with necessary  skills could investigate further and find out
why compiling serializers block demands so much memory.
> Moreover, what does this command mvn -Pallblocks mean ? I didn't see
> it in the 'Getting started documentation'.
It's typo, it should be -Dallblocks but I'm not sure what is its
purpose. Maybe, 'build all blocks dear Maven'? ;-)

HTH,

-- 
Grzegorz Kossakowski

Mime
View raw message