Ibrahim,

>   Thanks for your input. The application in question is a content
> management one which is developed using Vignette. The Vignette support
> team suggested the increase in heapsize as a first measure. We are
> analyzing the code itself for leaks. It may be that on jsp pages we are
> not closing connections properly.

That is alwasys a possibility. Remember that anything can leak needs to
have a try/catch/finally block surrounding it. Otherwise, exceptions
could prevent you from cleaning something up.

> I am wondering whether:
> - simply editing the catalina.sh file as I described would do it or for
> proper application of an increase, we may need to use commands external
> to the file such as export or set?
> - whether the increase made in catalina.sh may need to be made elsewere
> in other files?

On UNIX (at least in Tomcat 4.1.x, which I use), catalina.sh is called
by every other script (startup, shutdown, etc.), and you specify the
Java options there. I don't think there's a need to go looking all over
the place. This script was designed to do exactly what you are trying to
do: pass options to the JVM upon startup.

> Also what is stacksize permgensize and how can these play a role in how
> Tomcat performs and could their setting be related to OutOfMemory errors?

You will have to research this yourself. It all depends upon your
specific situation.

-chris


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to