You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by Stefano Bagnara <ap...@bago.org> on 2010/01/22 18:23:41 UTC

Re: java out of memory PERMGEN space Problem

2010/1/22 Mario Zsilak <ma...@inew-cs.com>:
> Hi,
>
> I had the same issue today.
> AFAIK there  is some kind of memory leak in maven2.
>
> try the following ( linux ):
>
>   export MAVEN_OPTS="-Xms512m -Xmx1024m -XX:PermSize=256m
> -XX:MaxPermSize=512m"
>   mvn clean package -Dmaven.test.skip.exec=true
>
> I know this is not the correct way, but at least you should be able to build
> james :)

AFAIK this *is* the correct way ;-)
(I usually only set the -Xmx, and this probably relates to some maven
plugin not freeing memory)

Stefano

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org