Re: [Dhis2-devs] [Dhis-dev] Out of memorry

2009-03-24 Thread Orvalho Joaquim Augusto
Thanks for the password advice and I am so sorry if I did not notice that before. Back to PermGen space error I suggest to try these things too: http://www.freshblurbs.com/explaining-java-lang-outofmemoryerror-permgen-space http://www.mkyong.com/tomcat/tomcat-javalangoutofmemoryerror-permgen-spa

Re: [Dhis2-devs] [Dhis-dev] Out of memorry

2009-03-23 Thread Knut Staring
Thanks very much for pointing that out, Saptarshi. Tri, please change your password immediately (and don't post it on this list). Secondly, please all stop sending to dhis-...@hisp.info. Knut 2009/3/23 Saptarshi Purkayastha > Attaching your conf folder is murderous!! It contains passwords, priv

Re: [Dhis2-devs] [Dhis-dev] Out of memorry

2009-03-22 Thread Saptarshi Purkayastha
Attaching your conf folder is murderous!! It contains passwords, privileges to tomcat... may be it isn't an online server and the tomcat manager app password isn't the end-of-the-world!! But this is a good lesson for everyone that we can't give passwords away on mailing lists, IRC or other places w

Re: [Dhis2-devs] [Dhis-dev] Out of memorry

2009-03-22 Thread Orvalho Joaquim Augusto
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 -X

Re: [Dhis2-devs] [Dhis-dev] Out of memorry

2009-03-20 Thread Lars Helge Ă˜verland
On Fri, Mar 20, 2009 at 12:47 PM, Saptarshi Purkayastha wrote: > I don't know if it was being done yet, but the installer that I have now > built also puts the Server VM with the JRE and starts tomcat on the server > vm... On our office linux server I have installed tomcat as a unix daemon. > OK.

Re: [Dhis2-devs] [Dhis-dev] Out of memorry

2009-03-20 Thread Saptarshi Purkayastha
I don't know if it was being done yet, but the installer that I have now built also puts the Server VM with the JRE and starts tomcat on the server vm... On our office linux server I have installed tomcat as a unix daemon. BTW, can the installer code stay in the tools/installer folder on the bazaa

Re: [Dhis2-devs] [Dhis-dev] Out of memorry

2009-03-20 Thread Lars Helge Ă˜verland
> 2.) On Windows machines, the JRE runs with the Client JVM which is > optimized for quick start, but not for better memory/thread management as > the server HotSpot VM. We should by default start tomcat with server VM. In > my JavaEE experience, this does reduce a lot of OOM exceptions. If you jus

Re: [Dhis2-devs] [Dhis-dev] Out of memorry

2009-03-20 Thread Saptarshi Purkayastha
I have found 2 ways in which the Java Out-of-Memory Exception can be solved: 1.) On linux machines, we can start tomcat as a unix daemon as pointed out in this tutorial . Tomcat gets more priority, memory and can run more efficiently. Infact, it

Re: [Dhis2-devs] [Dhis-dev] Out of memorry

2009-03-20 Thread Orvalho Joaquim Augusto
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 be