← Back to team overview

dhis2-devs team mailing list archive

Re: Issue with Settings App after upgrade to 2.22

 

Dear Ese,

I had a similar issue and enabling code cache flashing resolved my issue;
the application was behaving as if there was a memory leak.

In your setenv.sh, modify the java_opts as follows export
JAVA_OPTS='-Xmx7500m -Xms4000m -XX:+UseCodeCacheFlushing'  and/or modify
the respective java_opts environmental system variable to enable code
flushing.

Alternately you can increase the size of reserved code cache but this was a
temporary fix for me. You can  read more about code cache tuning here:
https://docs.oracle.com/javase/8/embedded/develop-apps-platforms/codecache.htm


PS: Tomcat 8 was giving me more frequent 'freezes', I had to 'run' back to
ver 7

I hope this helps,

Ali


On Sat, Jan 23, 2016 at 3:59 PM, Ese Egerega <egerega@xxxxxxxxx> wrote:

> Hello,
>
> I am having trouble with the Settings App after upgrade from 2.21 to 2.22.
>
> When I click on Apps and on Settings, the page continues to load for hours
> (see snapshot below) but it never displays the Settings page.
>
> I have cleared cache and switched to Tomcat 8 but it didn't make a
> difference. Meanwhile, nothing shows up in tomcat/logs
>
> The interesting part is that when I roll the server back to dhis2.21 the
> settings App loads fine but not with 2.22.
>
> I am using Apache server with Tomcat 7.0.67 and Java 8
> dhis2 build version: 21775
>
> I will appreciate any help.
>
> Thanks,
>
> Ese
>
> [image: Inline image 1]
>
> _______________________________________________
> 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
>
>

PNG image


Follow ups

References