← Back to team overview

dhis2-users team mailing list archive

Re: DHIS2- TompCat Issue(Java heap space) caused by out of memeory error

 

Try allocating more memory to Java by creating an environment variable
called
 JAVA_OPTS and set it to -Xmx512m -Xmx1024m -XX:PermSize=128m
-XX:MaxPermSize=256m

On Thu, Aug 17, 2017 at 7:11 AM, Omer Butt <omerbutt2521@xxxxxxxxx> wrote:

> *Sir,*
> *While running DHIS-2 Application. My tomcat give out of memory issue
> several times a day. After that dhis2 stop running there functionality. I
> have to restart tomcat again to work properly.*
> *How to handle that issue ?*
>
>
> *[image: Inline image 1]*
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 
Knut Staring
Dept. of Informatics, University of Oslo
Norway: +4791880522 <+47%20918%2080%20522>
Skype: knutstar
http://dhis2.org

PNG image


References