dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #18878
Re: Problem creating datamart
Hi Hannan,
You configuration may have worked previously, but some things were
changed in the datamart and you will need to allocate more memory to
it after 2.7.
The details are here of the server setup are here
http://dhis2.org/doc/snapshot/en/implementer/html/ch08.html#d5e413
and the important part is the JAVA_OPTS environment variable, for instance...
export JAVA_OPTS='-Xmx6000m -Xms3000m -XX:MaxPermSize=800m -XX:PermSize=400m'
I am not really sure what your settings are, but you should at least
specify these options, of course adjusting them for the amount of
memory which can be allocated to DHIS2 .
Best regards,
Jason
On Mon, Sep 10, 2012 at 10:49 AM, Hannan Khan <hannank@xxxxxxxxx> wrote:
> Dear Jason
>
> Thanks for your advice. We are running dhis2 from 2010. In earlier version
> we dont have any problem creating datamart. After updating to version 2.7 we
> imported a big chuck of data from two data souce and after that we have
> problem creating datamart.
>
> So far I know the configuration is ok, however I will check again and get
> back to you.
>
> Regards
>
> Hannan
> from Samsung Galaxy
>
> On Sep 9, 2012 5:39 PM, "Jason Pickering" <jason.p.pickering@xxxxxxxxx>
> wrote:
>>
>> This is not a bug. You must increase the heap size. Please consult the
>> implementation manual for details.
>>
>> Regards,
>> Jason
>>
>> --
>> Sent from my mobile
>>
>> On Sep 9, 2012 1:12 PM, "Hannan Khan" <hannank@xxxxxxxxx> wrote:
>>>
>>> We are using dhis2 version 2.7. Whenever we generating datamart are it
>>> taking long time and it never ends.The error message is (in the tomcat log
>>> file)
>>> 'dhis2-org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor
>>> processChildren SEVERE: Exception invoking periodic operation:
>>> java.lang.OutOfMemoryError: Java heap space'.
>>>
>>> I attached the log file.
>>>
>>> Regards
>>>
>>> Hannan Khan
>>>
>>> National Data Warehouse
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> 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
>>>
>
Follow ups
References