[TIP]: maven and memory...

Aleksandar Vidakovic <[email protected]>
Newsgroups gmane.comp.java.keel.devel
Message-ID <1113417948.5079.13.camel@popper>
Salut all,

I guess that some had the same problems like me running multiproject in
keel-build. Just in case that there are more people out there like me: I
played around with the following parameters for the MAVEN_OPTS
environment variable

export MAVEN_OPTS="-Xmx768m -Xincgc -XX:MaxPermSize=128m"

You have to adjust the actual memory settings to your physical memory.
The biggest problem (at least for me) was that increasing "-Xmx" alone
doesn't help at all. I always got "java.lang.OutOfMemoryError: PermGen
space" exceptions. If you are interested in the meaning of the
parameters that I added I recommend you to read this
( http://java.sun.com/docs/hotspot/VMOptions.html and
http://java.sun.com/docs/hotspot/gc/index.html ).

Cheers,

Aleks

http://keelframework.org/documentation.shtml
Keelgroup mailing list
[email protected]
http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.