[opencms-dev] Get java.lang.OutOfMemoryError

Andras Balogh andras at reea.net
Mon Jan 26 14:25:01 CET 2004


    Hello,

    Your 1GB of RAM is probably not used by Tomcat, try adding more 
memory to Tomcat (or better said to JVM)
 by  option -Xmx512M or even higher.
    You can specifiy this is JAVA_OPTS, you can see this options 
available if you type in a console "java -X".

Best wishes,
Andras.


kusteri at freenet.de wrote:

> Hello, list. I've a big problem.
>
> We've installed OpenCms 5.0.1 in this machine:
>
> - Win 2K, with 1Gb of RAM
> - java sdk version 1.4.0
> - Mysql 3.2.3.49 -nt
> - Tomcat 4.0.4 and it's run with the parameters:
> JAVA_OPTS = "-Dfile.encoding=ISO-8859-1"
>
> Our internet site has a great number of access per day.
> The problem is that two or three times per weeks, the server doesn't 
> respond any request and I get an java.lang.OutOfMemoryError displayed 
> in Tomcat console.
>
> What might be the problem and how can I solve it?
> Is there any workaround for this problem?
>
> Thank you in advance!
> Kusti






More information about the opencms-dev mailing list