← Back to team overview

dhis2-devs team mailing list archive

Re: Error running DHIS 2 on Jetty on Ubuntu

 

MAVEN_OPTS seems to be the right place to set memory for MAVEN... although
it should be able to use JAVA_OPTS
... but for tomcat there is a similar CATALINA_OPTS

---
Regards,
Saptarshi PURKAYASTHA
Director R & D, HISP India
Health Information Systems Programme

My Tech Blog:  http://sunnytalkstech.blogspot.com
You Live by CHOICE, Not by CHANCE


2009/12/17 Lars Helge Øverland <larshelge@xxxxxxxxx>

>
>
> 2009/12/17 Bob Jolliffe <bobjolliffe@xxxxxxxxx>
>
> Maven black magic.  i wish I knew things like mvn dependency:tree. That
>> sounds useful.
>>
>> :-)
>
> Now I am running into more trouble. While building the "core" modules
> without tests I am getting
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] PermGen space
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.OutOfMemoryError: PermGen space
>
>
> This never happened even on windows. I have set JAVA_OPTS in .bashrc to
>
> -Xms512m -Xmx2048m -XX:PermSize=512m -XX:MaxPermSize=2048m
>
> Any idea why this suddenly is happening or what I might have done wrong?
>
> Lars
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>

Follow ups

References