Sorry a small correction. The client times out, because the tomcat gives a Heap 
Space memory error.

config in startup.sh :

export JAVA_OPTS="-Xms128m -Xmx512m"
export CATALINA_OPTS="-Xms512m -XX:MaxPermSize=512m"

My apps are 7 war, that  each contain its own deps. Size of 1 war is 14 MB

How do I check the memory the tomcat uses?

Greetings
Alex


________________________________________
Van: Woude, Alexander van der [alexander.vander.wo...@capgemini.com]
Verzonden: maandag 19 april 2010 13:49
Aan: users@tomcat.apache.org
Onderwerp: memory problems / time outs

Hello All

For a client I developed a few Data webservices. In total there are 7 services.
All are CXF based webservices that use hibernate.

I keep having memory problems, so I increased both JAVA_OPTS as CATALINA_OPTS.
Now I get timed out errors and tomcat blocks completely, I only can resolve 
things by restarting the tomcat server.

I did profile my services and I did profile my hibernate DAO's and it seems 
fine.
I have no clue where to look anymore for a solution, any idea is welcome.

I use tomcat-6.0.18 on RedHat enterprise linux 5 , 64 bit version. With a 
OpenJDK java6 64 JVM.

Thanks
Alex






This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is
intended only for the person to whom it is addressed. If you are not the 
intended recipient, you are not authorized to
read, print, retain, copy, disseminate, distribute, or use this message or any 
part thereof. If you receive this message
in error, please notify the sender immediately and delete all copies of this 
message.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org







This message contains information that may be privileged or confidential and is 
the property of the Capgemini Group. It is 
intended only for the person to whom it is addressed. If you are not the 
intended recipient, you are not authorized to 
read, print, retain, copy, disseminate, distribute, or use this message or any 
part thereof. If you receive this message 
in error, please notify the sender immediately and delete all copies of this 
message.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to