Re: [TIP]: maven and memory...
Raoul Pierre <[email protected]>
| Newsgroups | gmane.comp.java.keel.devel |
|---|---|
| Message-ID | <[email protected]> |
As stated before by Shash, -XX:MaxPermSize=128m -Xmx256m is enough for me. (under Windows XP) Pierre Aleksandar Vidakovic a écrit : >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 > > > > > http://keelframework.org/documentation.shtml Keelgroup mailing list [email protected] http://lists.keelframework.com/listinfo.cgi/keelgroup-keelframework.com