We are using dhis2 version 2.11 and PosgreSql 9.2. When i am populating reports-> Analytics and Data Mart .It generate temporary table for all year from 1979 to 2014.
However, when it is coming in Populating Crostabulation table functionalists that time the application hangs and shows error in log file.
The error file and the screen short i attached here. and some portion of it is as follows.
1_QuartzSchedulerThread" Exception in thread “http-apr-8085-exec-8” Exception in
thread “ContainerBackgroundProcessor[StandardEngine[Catalina]]” java.lang.OutOf
MemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOfRange(Unknown Source)
Hi Fatema,
This is not a problem with DHIS2 per se, but rather with the setup of your server. You will need to increase the memory available to Java. There is a quite detailed section in the implementers manual on this here.
This issue has been discussed numerous times on this list as well, so if you search the achives, you may find some tips there as well.
We are using dhis2 version 2.11 and PosgreSql 9.2. When i am populating reports-> Analytics and Data Mart .It generate temporary table for all year from 1979 to 2014.
However, when it is coming in Populating Crostabulation table functionalists that time the application hangs and shows error in log file.
The error file and the screen short i attached here. and some portion of it is as follows.
1_QuartzSchedulerThread" Exception in thread “http-apr-8085-exec-8” Exception in
thread “ContainerBackgroundProcessor[StandardEngine[Catalina]]” java.lang.OutOf
MemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOfRange(Unknown Source)