← Back to team overview

dhis2-devs team mailing list archive

Re: Error running DHIS 2 on Jetty on Ubuntu

 

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

>
>
> On Thu, Dec 17, 2009 at 9:17 AM, Saptarshi Purkayastha <sunbiz@xxxxxxxxx>wrote:
>
>> 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
>>
>>
> Yeah that was my impression as well. When setting MAVEN_OPTS to the same
> value as JAVA_OPTS I suddenly get something like "could not allocate
> resources for the JVM" which indicates that it is now picked up. Building
> now runs fine. Documented on dhis2.org. Thanks a lot for the tip...
>
>

PS. I obviously reduced the amount of mem allocated (1024m) first.

References