← Back to team overview

dhis2-devs team mailing list archive

Re: compilation errors

 

You can set JAVA_OPTS environment variable to something like:

-Xmx512m -Xms256m -XX:PermSize=128m -XX:MaxPermSize=128m
-XX:NewSize=128m

these values may increase/decrease depending on your available RAM.

On Thu, Sep 27, 2012 at 7:47 PM, Juma Lungo <jlungo@xxxxxxxxx> wrote:

> How to avoid java.lang.OutOfMemoryError: PermGen space
>
> I run Tomcat 7,
> Java version:1.7.0_05Java vendor: Oracle Corporation
>
>
>
> _______________________________________________
> 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
>
>


-- 

Regards,
Bharath Kumar. Ch

Follow ups

References