← Back to team overview

dhis2-users team mailing list archive

DHIS memory issues on Ubuntu

 

Hi all,
I am trying to deploy dhis.war on Ubuntu vm. It has 4GB of memory.
Tomcat starts successfully and shows 'server startup in 233821 ms'.

This is the first time I m accessing the deployed web app (i.e. no
configuration done yet) and it throws following exception.
http://pastebin.com/j2yWY3dH

I have followed this but no luck.
https://wiki.openmrs.org/display/docs/Troubleshooting+Memory+Errors

<quote>

In my endeavors to troubleshoot tomcat memory issues i performed the
following in Ubuntu 10.04:

*sudo gedit /etc/init.d/tomcat6*

Changed (~line 81):

*if [ -z "$JAVA_OPTS" ]; then*
*        JAVA_OPTS="-Djava.awt.headless=true -Xmx128M"*
*fi*

To:

*if [ -z "$JAVA_OPTS" ]; then*
*        JAVA_OPTS="-Djava.awt.headless=true -Xmx1024M -Xms1024M*
*-XX:PermSize=256m
-XX:MaxPermSize=256m -XX:NewSize=128m**"*
*fi*

</quote>


Plz help me understanding the missing steps...

Thanks,

Maimoona

Follow ups