← Back to team overview

dhis2-devs team mailing list archive

Re: [Dhis-dev] Out of memorry

 

Ok!

Indeed, there is no enough memory for JVM:


You did not provide the "Operating System" and "How much RAM you have". I am gessing that you are using Linux Ubuntu. If so check this very important file:
/etc/default/tomcat6

You must play with the line:
JAVA_OPTS="-Djava.awt.headless=true -Xmx300M"

If not ubuntu, you must find somewhere.

If you have 2GB of RAM take 25% to 30% to JVM. And try to see what happens.

Is this machine dedicated to dhis2?

It may help if you use the last possible JDK. The JDK making guys claim that the from the update 10 of 1.6 there is less memory consuming that the previous versions [I do not know really].

Caveman


Trí Trần Thanh wrote:
Hi all

This is log and config of our server tomcat.
Our server


Tran Thanh Tri
HISP Viet Nam
+84903670967


2009/3/20 Orvalho Joaquim Augusto <orvaquim@xxxxxxxxx <mailto:orvaquim@xxxxxxxxx>>

    We need more info.

    Logs form postgres and tomcat.
    Configuration files for tomcat.
    Physical resources of you machine (RAM and CPU)
    Operating System and FileSystem

     >From my experience this is issued much probably by JVM/Tomcat.

    I am not sure... but it seems that someone have discussed this here
    before.

    Caveman


    Thuy Nguyen wrote:

        Dear all,

        We HISP Vietnam team meet a problem and need solution to solve.
        Currently DHIS2 of HISP Vietnam using report module to generate
        reports which created by BIRT report designer. On the March
        19th, 2009 there was a training class for users to practice
        entering data and generating reports. The class includes 40
        users work at same time in the program.
        Entering data values was fine. But when there are many users
        generate reports at the same time. The system suddenly become
        very slow and every user get the OutOfMemorry java exception
        when click in any button of the program. That time Tri has to
        restart the tomcat of server, the sistuation become better for 2
        minutes, and the problem appear again when few users generate
        reports. This even affect to another users who doesn't generate
        report but entering data in the class that time.
        Tri has checked in database, there were many many transactions
        opened but weren't closed.
        After meeting to find the reason, we don't know about other
        reason except reports were designed by BIRT. May be we were
        wrong. We are looking forward your suggestions and consult to
        find out the right reason and solutions to solve. May be change
        another tool instead of BIRT, or correct the program or someway
        else. Dr. Trung requested us have to find the right solution
        before April.
        Please help us...



-- --
        Thuy
        HISP Vietnam
        +84902079126
        xuan_thuy_vn@xxxxxxxxx <mailto:xuan_thuy_vn@xxxxxxxxx>
        <mailto:xuan_thuy_vn@xxxxxxxxx <mailto:xuan_thuy_vn@xxxxxxxxx>>
        thuy.hispvietnam@xxxxxxxxx <mailto:thuy.hispvietnam@xxxxxxxxx>
        <mailto:thuy.hispvietnam@xxxxxxxxx
        <mailto:thuy.hispvietnam@xxxxxxxxx>>






------------------------------------------------------------------------

_______________________________________________
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





References