Hi,
I am admining an application running on tomcat 4.1.29/ windows 2000. Recently i am getting java.lang.outofmemory error every now and then. As I checked CATALINA_OPT and JAVA_OPT environment variables are set to following value:
"-Xms1024m -Xmx1024m -Xmn512m"
Quotations are part of the value.
Is this correct, i have seen some people suggesting to set it to "-server -Xms1024m -Xmx1024m -Xmn512m" or
"-client -server -Xms1024m -Xmx1024m -Xmn512m" with/without quotation, so my question is do i need to have both CATALINA_OPT and JAVA_OPT or one is enough? What is the correct value (with or without server/client)?
My next question is how can i check to see if the max size is actually set?
Many thanks in advance
Portagal
I am admining an application running on tomcat 4.1.29/ windows 2000. Recently i am getting java.lang.outofmemory error every now and then. As I checked CATALINA_OPT and JAVA_OPT environment variables are set to following value:
"-Xms1024m -Xmx1024m -Xmn512m"
Quotations are part of the value.
Is this correct, i have seen some people suggesting to set it to "-server -Xms1024m -Xmx1024m -Xmn512m" or
"-client -server -Xms1024m -Xmx1024m -Xmn512m" with/without quotation, so my question is do i need to have both CATALINA_OPT and JAVA_OPT or one is enough? What is the correct value (with or without server/client)?
My next question is how can i check to see if the max size is actually set?
Many thanks in advance
Portagal