And along those lines, two questions:

1. will i need to change anything if i move my app to tomcat 5, or will it
work as-is?

2. running tomcat as a windows service, it seems to ignore JAVA_OPTS and
CATALINA_OPTS envirorment options.  How can i give it the -Xmx option?

Daniel.

-----Original Message-----
From: Daniel Perry [mailto:[EMAIL PROTECTED]
Sent: 13 May 2004 18:08
To: Struts Users Mailing List
Subject: RE: java.lang.OutOfMemoryError after server app start/stop
cycling


Putting up the maximum memory Xmx does help as it gives it more memory to
use up, but only delays the inevitable :)

Is this a struts issue? or does it happen with all tomcat apps?

Daniel.

-----Original Message-----
From: Ciaran Hanley [mailto:[EMAIL PROTECTED]
Sent: 13 May 2004 17:49
To: 'Struts Users Mailing List'
Subject: RE: java.lang.OutOfMemoryError after server app start/stop
cycling


I've been having the same problem, I emailed a friend to ask him about it
and he replied with the following:

"I'm not too sure. You could try try tweaking the JVM heap size. You can set
these by the "-Xms", "-Xmx", "-XX:NewSize", and "-XX:MaxNewSize". The values
they'll take will differ from system to system depending on OS and the
amount of physical/virtual memory on the machine. Take a look at the Apache
and Sun websites on what values they should take and where to set them."

I haven't gotten around to trying it yet, let me know if this is a help

CH


-----Original Message-----
From: Daniel Perry [mailto:[EMAIL PROTECTED]
Sent: 13 May 2004 17:01
To: Struts User List
Subject: java.lang.OutOfMemoryError after server app start/stop cycling

Does anyone else out there get:

java.lang.OutOfMemoryError

exceptions after stoping and starting their struts webapp in tomcat manager?

Any idea how to stop this?

Daniel.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to