← Back to team overview

dhis2-devs team mailing list archive

Re: Fwd: [Dhis-dev] Out of memorry

 

Well the diagnosis is the same actually.

You need to tune tomcat.

I have little experience with tomcat under windows [I prefer Linux] but anyway: 1. Stop Tomcat; Check with taskmgr if there is an tomcat instance running and stop it.

2. Under start->programs find configure tomcat. You will see a window where you can place the max memory pool; Start 512MB.

3. Remember Java needs memory and BIRT uses much RAM. So consider to use a 64bit SO and place more RAM on the machine (4GB) and give JVM 1GB.

Do this even if 2 solves your problems.

Good Luck
Caveman


Trí Trần Thanh wrote:

Our server:
  - CPU : xeon 2.13 Ghz
  - RAM : 2GB
  - JDK 6
  - Tomcat 6.0
  - WIndow server 2003


Tran Thanh Tri
HISP Viet Nam
+84903670967


2009/3/23 Trí Trần Thanh <tranthanhtri84@xxxxxxxxx <mailto:tranthanhtri84@xxxxxxxxx>>

    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