From: Malcolm Warren [mailto:malc...@villeinitalia.com]
Subject: Tomcat, out of memory and hot reployment
If I turn off hot redeployment and use the Tomcat manager to redeploy
applications, does that solve the problem?
No, that is a hot redeployment.
I would assume that it does not, but
On 07/12/2009 10:53, Malcolm Warren wrote:
Dear All,
I've seen that using hot deploy too often for apps on my production
server (more than seven or eight times) without restarting Tomcat causes
an Out of memory exception.
Whereas it doesn't happen on my mac test machine, presumably because it
Thanks very much for your answers.
My question has been clarified.
Malcolm
Pid ha scritto:
On 07/12/2009 10:53, Malcolm Warren wrote:
Dear All,
I've seen that using hot deploy too often for apps on my production
server (more than seven or eight times) without restarting Tomcat causes
an Out
A quick fix would be to specify minimum and maximum heap size using JVM
parameters -Xms and -Xmx. -Xms specifies the minimum heap size and -Xmx is
used to determine the maximum allowed heap size.
So, lets say if you have enough memory to allocate 512 MB to your java
process you shoud write
Gaurav Kushwaha wrote:
A quick fix would be to specify minimum and maximum heap size using JVM
parameters -Xms and -Xmx. -Xms specifies the minimum heap size and
-Xmx is
used to determine the maximum allowed heap size.
So, lets say if you have enough memory to allocate 512 MB to your java
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Which kernel are you running? If you are running 2.4 I could imagine
that it could be an out of process/ thread limit.
Java used to report - out of memory - even for out of processes/
threads problems
I think 2.4 had a default limit of 256
Your web application has a memory and/or resource leak. Run a profiler
to see what code is not releasing references to objects, closing files,
etc.,
Given you've already said this happens overnight, you might want to
start your analysis with the background process you have running.
Add this line to your catalina.sh file under environment variables:
export JAVA_OPTS=-Xmx512m
However, you should not expand the memory to more than half of the memory
available on your server. If you don't have a GB of memory, modify the 512
to an appropriate level relative to your memory
At our company we bounce tomcat every morning via a cron job
Burak Y wrote:
Hi all;
I have a web site where 200 users online at average...These user overload
started in these days...
Webpages seem to be loading sometimes then blank page comes(totaly blank no
to change the settings
on the tcp/ip connector port.
Hope this helps.
-Original Message-
From: Mike Sabroff [mailto:[EMAIL PROTECTED]
Sent: Friday, February 10, 2006 8:20 AM
To: Tomcat Users List
Subject: Re: Tomcat out of memory
At our company we bounce tomcat every morning via a cron job
10 matches
Mail list logo