2010/1/22 Mario Zsilak <[email protected]>: > 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: [email protected] For additional commands, e-mail: [email protected]
