Wel actually when memeory problems appeared I started with the CATALINA_OPTS to 
increase memeory.
When after a while problems appeared again, I thought to understand that I had 
to increase the heap size op the JVM memory.

In the end I wanted more memeory allocated for the tomcat.
SO please tell me what is the best one for me, if u can.
And I am doubting now if it is in the right file, the startup.sh Can u confirm 
if that is okay?

Greetings Alexander

________________________________________
Van: Pid [...@pidster.com]
Verzonden: maandag 19 april 2010 14:50
Aan: Tomcat Users List
Onderwerp: Re: memory problems / time outs

On 19/04/2010 13:24, Woude, Alexander van der wrote:
> Thanks for the suggestions this far.
> I had an oversight with the tomcat monitoring, didnt notice it on the site.
>
> I will try that just as the suggestions about JStack etc.
>
> why 2 Xms settings?
> I thought to have understood that catalina en java opts were 2 seperate 
> things but I was wrong?

They are different.  I'm asking why you have set them, what are you
trying to achieve?


p

> Thanks
> Alex
> ________________________________________
> Van: Harry Metske [harry.met...@gmail.com]
> Verzonden: maandag 19 april 2010 14:16
> Aan: Tomcat Users List
> Onderwerp: Re: memory problems / time outs
>
> 2010/4/19 Woude, Alexander van der <alexander.vander.wo...@capgemini.com>
>
>> 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?
>>
>
> you can also enable JMX, see
> http://tomcat.apache.org/tomcat-6.0-doc/monitoring.html#Enabling
> JMX Remote and use jconsole to monitor real time memory usage.
>
>
>
>> 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
>>
>>
>
>
>
>
>
>
> 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