Unfortunately, I can't give you an answer -
it my well be that my code IS somehow suboptimal, but if the application
runs, all is well, it is just that reload (I'm not sure about start and
stop now) over the manager app.
To be honest, I always waited for the next tomcat release to magically
make
On Tuesday 20 September 2005 21:11, Sonja Löhr wrote:
> I know this problem very well, since I worked on a very memory-consuming
> app where I coulnd't even reload twice. It has nothing to do with ant,
> and i think I also had such a case with tomcat 5.5 (now working on
> "normal" webapps ;-)
wh
I know this problem very well, since I worked on a very memory-consuming
app where I coulnd't even reload twice. It has nothing to do with ant,
and i think I also had such a case with tomcat 5.5 (now working on
"normal" webapps ;-)
Cautiously, I would never reload via manager (or perhaps once) in
2 notes.
When using Java 1.5, StringBuilder class is supposed to be better
according to documentation. Also, what has worked for me, is that if
any of the strings can be generated ahead of time, do so in a static
block and convert the strings to byte[]. This not only eliminates
redundant Strin
> From: NoKideen [mailto:[EMAIL PROTECTED]
> usually I use String to collect output first and out.print()
> those String
> example :
> String a="";
> a+="Test 1";
> a+="Test 2";
> // very long , and almost 1 page
>
> out.println(a);
>
> can this cause out of memory problem ?
It won't help
[EMAIL PROTECTED]
> Sent: 20 September 2005 15:08
> To: Tomcat Users List
> Subject: RE: Out of Memory on Jakarta Tomcat 5.0.19, jdk1.5.0_04
>
>
> > From: Allistair Crossley [mailto:[EMAIL PROTECTED]
> > Subject: RE: Out of Memory on Jakarta Tomcat 5.0.19, jdk1.5.0_04
> &
On Tuesday 20 September 2005 20:56, Allistair Crossley wrote:
> You'll almost likely find that the reload via Ant does not free up all
> resources and so each time you perform a reload you'll be leaking some
> memory resulting in OOME after a week.
>
> 3 things to do;
>
> Get a profiler to see wher
> From: Allistair Crossley [mailto:[EMAIL PROTECTED]
> Subject: RE: Out of Memory on Jakarta Tomcat 5.0.19, jdk1.5.0_04
>
> 3 things to do;
>
> Get a profiler to see where you may be losing memory.
> Ensure no resource/references are held onto, dispose
> references
I would recommend you upgrade to 5.5.9 if you use struts.
-Original Message-
From: Allistair Crossley [mailto:[EMAIL PROTECTED]
Sent: September 20, 2005 9:56 AM
To: Tomcat Users List
Subject: RE: Out of Memory on Jakarta Tomcat 5.0.19, jdk1.5.0_04
You'll almost likely find tha
You'll almost likely find that the reload via Ant does not free up all
resources and so each time you perform a reload you'll be leaking some memory
resulting in OOME after a week.
3 things to do;
Get a profiler to see where you may be losing memory.
Ensure no resource/references are held onto
mGen error.
> -Original Message-
> From: Brian Cook [mailto:[EMAIL PROTECTED]
> Sent: 12 August 2005 15:48
> To: Tomcat Users List
> Subject: Re: Out of memory
>
>
>
> You would probably be better served looking at what you can change in
> the app so it does
over to
other apps.
A lesson I have learned the hard way.
Allistair Crossley wrote:
Oh yes :)
-Original Message-
From: Wolfgang Hackl [mailto:[EMAIL PROTECTED]
Sent: 12 August 2005 09:24
To: Tomcat Users List
Subject: RE: Out of memory
You can modify the memory settings for
Oh yes :)
> -Original Message-
> From: Wolfgang Hackl [mailto:[EMAIL PROTECTED]
> Sent: 12 August 2005 09:24
> To: Tomcat Users List
> Subject: RE: Out of memory
>
>
>
> > You can modify the memory settings for the windows service
> also in the
>
> You can modify the memory settings for the windows service also in the
> service.bat file itself. I've been known to uninstall the service, modify
> the bat file and then service install again.
Forget about a reinstall. Use regedit and go to
HKEY_LOCAL_MACHINE\SOFTWARE\Apache software Found
Hi,
You can modify the memory settings for the windows service also in the
service.bat file itself. I've been known to uninstall the service, modify the
bat file and then service install again. I don't like using the binary version
so that should work for you.
Secondly, OOMEs should be address
Hi,
try to register Tomcat as service with nice GUI, where can you set such
a parameters.
GUI is Tomcat Service Manager
http://web.bvu.edu/staff/david/index.jsp?section=software&subsection=tcservcfg&page=overview
regards
Matej
Yun Yang wrote:
Hello,
I am using Tomcat5.0.28. When I
On Windows try the tomcat5w binary in the bin directory of tomcat.
Hope this helps.
Ken
- Original Message -
From: "Yun Yang" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Thursday, August 11, 2005 2:31 PM
Subject: Out of memory
Hello,
I am using Tomcat5.0.28. When I try to r
You can change the JVM option, -Xmx to increase the heap size in
catalina.sh and see if it can accomidate more requests
Peddireddy Srikanth wrote:
I forgot to give details about my Application and test.
These details might give you people an idea about the problem area.
In this app. users has
start tomcat with -Xrunprof and look at the profile to figureout if
there are any objects consuming more memory(leaks). Thread.activeCount()
gives you total number of active threads in the current JVM.
Refer to javax.management to know more about the Mbeans to monitor the
tomcat.
You need to w
I forgot to give details about my Application and test.
These details might give you people an idea about the problem area.
In this app. users has to enter login ID and pwd in home page which
will be sent to a resource which validates these details, say
"LoginValidation" this resource will then fo
Hi,
Its giving out of memory over a period of time (i.e after test ran for
some time ) not immediately after starting the test
Follwing settings are given in my server.xml
For HTTP
For HTTPS
By active threads do u mean the thread count shown in windows task
manager or is there any way to
You need to check on whether it is giving Outofmemory error is
immediately after starting loadtesting with 1500 users or over period of
time. If it is over period of time then you need to check whether there
are any memory leaks. Or your design for ex., it might happen if you
query db and that
Hi,
first: You should start a new discussion thread, if you have a new
question instead of answering to an existing one. Readers may not see
your question if you don't.
-XX:+UseAdaptiveSizePolicy works good for me (with Java 5.0). Just give
the VM a very big maximum heap size and the gc algo
ginal Message Follows
From: "Dale, Matt" <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List"
To: "Tomcat Users List"
Subject: RE: out of memory error
Date: Tue, 26 Apr 2005 15:42:51 +0100
Or you simply don't have enough memory allocated to the JVM and yo
: ) Yes Matt good point.
For future reference if anyone is seeing any disk full issues then they do
not have a big enough hard disk...
Original Message Follows
From: "Dale, Matt" <[EMAIL PROTECTED]>
Reply-To: "Tomcat Users List"
To: "Tomcat Users Li
Or you simply don't have enough memory allocated to the JVM and you need to
increase it.
-Original Message-
From: Mark Benussi [mailto:[EMAIL PROTECTED]
Sent: 26 April 2005 15:41
To: [EMAIL PROTECTED]; tomcat-user@jakarta.apache.org
Subject: RE: out of memory error
I hit this
I hit this issue today, for a host of reasons.
You are getting this error because the ammount of memory allocated to the
JVM running Tomcat has been taken up. This ould be for the following
reasons:
You are doing some large database reads without using a methodology to read
in batches.
You are
9 Sat PM 06:15:10 EST
> > To: Tomcat Users List
> > Subject: Re: out of memory when there is plenty
> >
> > Hey guys, thanks for response.
> > Yes JVM is 1.4.2_06
> > So it can be pretty much anything not just the memory, alright that
> > makes perfect se
JProfiler is best in case of Tomcat.
Shakeel.
>
> From: Oleg <[EMAIL PROTECTED]>
> Date: 2005/02/19 Sat PM 06:15:10 EST
> To: Tomcat Users List
> Subject: Re: out of memory when there is plenty
>
> Hey guys, thanks for response.
> Yes JVM is 1.4.2_06
> So it can
> From: Oleg [mailto:[EMAIL PROTECTED]
> Subject: Re: out of memory when there is plenty
>
> 2005-02-17 14:55:48 StandardWrapperValve[jsp]: Servlet.service() for
> servlet jsp threw exception
> java.lang.OutOfMemoryError
You need to find the stack trace that should have bee
java.lang.OutOfMemoryError
Any ideas?
On Sat, 19 Feb 2005 17:41:56 -0600, Caldarale, Charles R
<[EMAIL PROTECTED]> wrote:
> > From: Oleg [mailto:[EMAIL PROTECTED]
> > Subject: Re: out of memory when there is plenty
> >
> > how do I find out now whats wrong.
>
> Try specifying -verbo
> From: Oleg [mailto:[EMAIL PROTECTED]
> Subject: Re: out of memory when there is plenty
>
> how do I find out now whats wrong.
Try specifying -verbose:gc on the command line; this will at least tell you
whether or not it is a heap memory problem. Also, look at the stack tra
Hey guys, thanks for response.
Yes JVM is 1.4.2_06
So it can be pretty much anything not just the memory, alright that
makes perfect sense, but creates a bigger problem, how do I find out
now whats wrong. Will memory profiling help? JProbe or Optimizeit I
think those are the only two I keep on hea
> From: Oleg [mailto:[EMAIL PROTECTED]
> Subject: out of memory when there is plenty
>
> My question is what can cause Tomcat to report out of memory error
> when so much is still available.
As has been discussed before on this mailing list, the OutOfMemory exception is
somewhat of a catch-all.
Throw the following code into a jsp and view it. It'll give you a little
graph showing you how much memory Tomcat can use, has allocated and is
using. This will tell you if you've properly set the max memory value and
may help you figure out what's happening. Best, Joe
StringBuffer mb = new S
it's time to go...
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
it's time to go...
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
it's time to go...
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
it's time to go...
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
it's time to go...
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
it's time to go...
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
it's time to go...
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
it's time to go...
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
it's time to go...
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
it's time to go...
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
how did you set min and max values for memory in tomcat 5
>
> From: Oleg <[EMAIL PROTECTED]>
> Date: 2005/02/19 Sat AM 04:09:12 EST
> To: Tomcat Users List
> Subject: out of memory when there is plenty
>
> Windows 2003
> Tomcat 5.0.28
>
> Ok I searched and searched endless and still cannot und
http://jakarta.apache.org/tomcat/faq/memory.html
I bet your machine has some kernel limits on number of open files that you
are passing.
-Tim
Helmut Eggebert wrote:
Hi,
I am getting an out of memory error when I start Tomcat.
Geachte relatie,
Het door u gebruikte e-mailadres is niet meer actief. U kunt uw e-mailbericht
sturen naar [EMAIL PROTECTED] of dit bericht beantwoorden.
Bedankt voor uw medewerking,
Met vriendelijke groet,
ATP Hypotheken
Het Spoor 40
3994 AK Houten
Tel. 030 750 25 33
Fax. 030 750 25 88
[EMAI
Geachte relatie,
Het door u gebruikte e-mailadres is niet meer actief. U kunt uw e-mailbericht
sturen naar [EMAIL PROTECTED] of dit bericht beantwoorden.
Bedankt voor uw medewerking,
Met vriendelijke groet,
ATP Hypotheken
Het Spoor 40
3994 AK Houten
Tel. 030 750 25 33
Fax. 030 750 25 88
[EMAI
the array length. I would guess that's how
it's implemented.
-Original Message-
From: "David Johnson"<[EMAIL PROTECTED]>
To: "Tomcat Users List"
Date: Thu Jan 06 07:40:27 PST 2005
Subject: Re: Out of Memory when compiling JSP (Struts app on Tomcat 4.1.27
AIL PROTECTED]
> > Sent: 06 January 2005 14:57
> > To: Tomcat Users List; [EMAIL PROTECTED]
> > Subject: RE: Out of Memory when compiling JSP (Struts app on Tomcat
> > 4.1.27)
> >
> > Chachany,
> >
> > It sounds like it's using the default of -Xmx64m. Pr
hat or start with -XX:MaxPermSize=128M
>
> -Original Message-
> From: SANTOS, DANIEL (SBCSI) [mailto:[EMAIL PROTECTED]
> Sent: 06 January 2005 14:57
> To: Tomcat Users List; [EMAIL PROTECTED]
> Subject: RE: Out of Memory when compiling JSP (Struts app on Tomcat
> 4.1.
: RE: Out of Memory when compiling JSP (Struts app on Tomcat
4.1.27)
Chachany,
It sounds like it's using the default of -Xmx64m. Probably the best way
to troubleshoot out or memory errors is to see what is really happening
with garbage collecting, the same way that you tune it. If you ca
Chachany,
It sounds like it's using the default of -Xmx64m. Probably the best way
to troubleshoot out or memory errors is to see what is really happening
with garbage collecting, the same way that you tune it. If you can add
these options, then the JVM will spit out all kinds of useful
informati
is tomcat restarting the web application when you compile these jsps?
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: 06 January 2005 14:25
> To: tomcat-user@jakarta.apache.org
> Subject: Out of Memory when compiling JSP (Struts app on
> Tomcat 4.1.27)
>
Hi,
>1) If you have a large scale web application with many JSP files, or an
>application that will generate a large amount of reflective objects (if
it
>is using Hibernate for example), the default Permanent Generation and
Max
>Permanent Generation settings on the JVM are not sufficient. By
def
Forgot to mention that we are using Sun's JVM 1.4.2_06 on Linux (Debian
3.0r2, Kernel 2.6.4, i686 with NPTL threads enabled) using a Xeon system.
At 11:18 AM 12/10/2004, Brad Neuberg wrote:
Hi everyone. Over at the company I work for, Rojo, we've been having a
variety of Out of Memory (OOM) iss
Hola,
>- Root Cause -
>java.lang.OutOfMemoryError
>Is getting more memory for this machine is my only option?
>Is playing around with -X?? options of Java will help me, Solaris is
>supposed
>to do good job of handeling virtual memory. Or is it aleak some where
in
>
>Java/Tomcat.
>
>I did
NOT a direct answer to your question...
The IBM Developer Works site has a wonderful set of tutorials on GC and Java.
They can be found at
http://www-106.ibm.com/developerworks/views/java/articles.jsp?sort_order=desc&expand=&sort_by=Date&show_abstract=true&view_by=Search&search_by=performance%3
Hi,
Use a Profiler to see what objects keep references to data you think
should be garbage-collected.
I'd also suggest scrapping most your extensive memory tuning settings
for now, unless you're absolutely sure they're perfect.
Yoav Shapira
Millennium Research Informatics
>-Original Messag
Hi,
Sure: set -Xmx higher in $CATALINA_HOME/bin/catalina.sh ;) See the doc
for JAVA_OPTS in that file for details.
You should investigate what's taking up your system resources by using a
profiler.
Yoav Shapira
Millennium Research Informatics
>-Original Message-
>From: Salvatierra, Ma
Put this in catalina.sh:
CATALINA_OPTS="$CATALINA_OPTS -Xmx512M";
armalai wrote:
Hi.,
I'm getting out of memory Error.
How do i know the current jvm memory?
I know the hardware memory details?
Please advise me which one is causing this error and how do i know the current
settings?
Thanks.,
MA
o not have time to mess with this right now, but I am
interested to know if it fixes the leak.
Charlie
> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] On Behalf Of David Strupl
> Sent: Monday, January 19, 2004 2:08 PM
> To: [EMAIL PROTECTED]
> Subject: Re: ou
: Re: out of memory problem. Help!
Remy Maucherat wrote:
This is not true: there's indeed a memory leak with 5.0.16, but it would
occur only with specific traffic patterns. It will not bring a server
down in just a few requests.
Indeed. The thread pool has to grow and shrink for this to h
set maxSpareThreads=minSpareThreads=maxThreads will cause the system to
never shrink the pool
Filip
-Original Message-
From: news [mailto:[EMAIL PROTECTED] Behalf Of David Strupl
Sent: Monday, January 19, 2004 9:58 AM
To: [EMAIL PROTECTED]
Subject: Re: out of memory problem. Help!
Remy
Remy Maucherat wrote:
This is not true: there's indeed a memory leak with 5.0.16, but it would
occur only with specific traffic patterns. It will not bring a server
down in just a few requests.
Indeed. The thread pool has to grow and shrink for this to happen.
Unfortunatelly quite common e.g. day
...does not seem to be a binary download yet
I suggest you continue investigating with your profiler: you have a
different problem.
-Original Message- From: David Strupl
[mailto:[EMAIL PROTECTED] Sent: 19 January 2004 17:00 To:
[EMAIL PROTECTED] Subject: Re: out of memory problem.
Help!
If
stable...does not seem to be a binary download yet
Cheers ADC
-Original Message- From: David Strupl
[mailto:[EMAIL PROTECTED] Sent: 19 January 2004 17:00 To:
[EMAIL PROTECTED] Subject: Re: out of memory problem.
Help!
If you use tomcat 5.0.x upgrade to 5.0.18. If you use 4.1.x downgrade
to
binary
download yet
Cheers ADC
-Original Message-
From: David Strupl [mailto:[EMAIL PROTECTED]
Sent: 19 January 2004 17:00
To: [EMAIL PROTECTED]
Subject: Re: out of memory problem. Help!
If you use tomcat 5.0.x upgrade to 5.0.18. If you use 4.1.x downgrade to
4.1.27. There is a
u for your
attention.
[EMAIL PROTECTED] 01/19/04 01:20AM >>>
Check session-timeout in web.xml. -1 is never timeout
-1
-Original Message- From: Christophe Andreoli
[mailto:[EMAIL PROTECTED] Sent: Friday, January 16, 2004 9:19 PM To:
Tomcat Users List Subject: Re: out of memory prob
oli [mailto:[EMAIL PROTECTED]
Sent: Friday, January 16, 2004 9:19 PM
To: Tomcat Users List
Subject: Re: out of memory problem. Help!
"Shapira, Yoav" wrote:
>
> Howdy,
>
> >root cause
> >
> >java.lang.OutOfMemoryError
> >
> >
> >It happens Whe
Check session-timeout in web.xml.
-1 is never timeout
-1
-Original Message-
From: Christophe Andreoli [mailto:[EMAIL PROTECTED]
Sent: Friday, January 16, 2004 9:19 PM
To: Tomcat Users List
Subject: Re: out of memory problem. Help!
"Shapira, Yoav" wrote:
>
> Howdy,
Howdy,
>It works better but why are the 2000 objects are not garbaged after
each
>request ?
There's only one reason objects aren't garbage-collected in java: other
objects are keeping references to them. You can inspect or profile your
code to see what keeps references to what.
Yoav Shapira
"Shapira, Yoav" wrote:
>
> Howdy,
>
> >root cause
> >
> >java.lang.OutOfMemoryError
> >
> >
> >It happens When the corresponding request returns more than 2-3
> >rows from the database, not every time
> Perhaps you should allocate your JVM more memory, by using the Java -Xmx
> paramet
Howdy,
>root cause
>
>java.lang.OutOfMemoryError
>
>
>It happens When the corresponding request returns more than 2-3
>rows from the database, not every time
Perhaps you should allocate your JVM more memory, by using the Java -Xmx
parameter. Alternatively, consider a system design that
- Get more memory
- allocate more memory to the JVM
(http://jakarta.apache.org/tomcat/faq/memory.html#adjust)
- Don't place 20,000 ros of data in memory
- Limit the size of your query
-Tim
Christophe Andreoli wrote:
Hello !
I have a Struts/jsp Application
Ich get an out of memory problem:
Chris,
I work with struts-1.1.
Zsolt
-Original Message-
From: Christopher Schultz [mailto:[EMAIL PROTECTED]
Sent: Monday, October 27, 2003 8:34 PM
To: Tomcat Users List
Subject: Re: Out of memory with multipart/form-data and lot of
checkboxes
Zsolt,
> in a form where the user
Zsolt,
in a form where the user can upload a file and set some attributes with
checkbox (couple oh hundreds) I get an out of memory exception even when the
file is very small (300 bytes). After some testing I figured out that it is
caused by enctype="multipart/form-data". If I removed that I cannot
ing!
As far as the 1.4.1 I'm glad I'm not using it. It's hard to believe that you
can't reuse StringBuffers.
Ken
-Original Message-
From: Shapira, Yoav [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 02, 2003 9:14 AM
To: Tomcat Users List
Subject: RE: Out of memory erro
If you are using jdk1.4.1 you could be a victim of:
http://developer.java.sun.com/developer/bugParade/bugs/4724129.html
> -Original Message-
> From: Januski, Ken [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 01, 2003 3:22 PM
> To: Tomcat Users List
> Subject: RE: Out
Howdy,
>(2) I think its silly that SUN has slated fixing this bug for 1.5 and
their
>workaround makes very little sense - Anyone know what the following
stated
>work around translates to in actual code?
>
>"Don't reuse StringBuffers. If you do reuse them, check their capacity
and
>make sure that
>-Original Message-
>From: Januski, Ken [mailto:[EMAIL PROTECTED]
>Sent: Tuesday, April 01, 2003 6:22 PM
>To: Tomcat Users List
>Subject: RE: Out of memory error
>
>Thanks Nikolaos,
>
>The multiple (100 per minute) mapping server lines occur before the out
of
>memo
s a bunch of problems reported recently on this list.
-Original Message-
From: Jacob Kjome [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 01, 2003 2:38 PM
To: Tomcat Users List
Subject: RE: Out of memory error
could be because of this awful bug introduced in j2sdk1.4.1. It
k down the cause (or at
least fix it so it doesn't recur).
Ken
-Original Message-
From: Nikolaos Giannopoulos [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 01, 2003 6:07 PM
To: Tomcat Users List
Subject: RE: Out of memory error
> -Original Message-
> From: Januski, Ken [m
l Message-
> From: Jacob Kjome [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 01, 2003 5:38 PM
> To: Tomcat Users List
> Subject: RE: Out of memory error
>
>
>
> could be because of this awful bug introduced in j2sdk1.4.1. It
> wasn't in
> j2sdk1.4.0
>
o:[EMAIL PROTECTED]
> Sent: Tuesday, April 01, 2003 5:38 PM
> To: Tomcat Users List
> Subject: RE: Out of memory error
>
>
>
> could be because of this awful bug introduced in j2sdk1.4.1. It
> wasn't in
> j2sdk1.4.0
> http://developer.java.sun.com/developer/b
ROTECTED]
Sent: Tuesday, April 01, 2003 5:38 PM
To: Tomcat Users List
Subject: RE: Out of memory error
could be because of this awful bug introduced in j2sdk1.4.1. It wasn't in
j2sdk1.4.0
http://developer.java.sun.com/developer/bugParade/bugs/4724129.html
Jake
At 04:16 PM 4/1/200
I tried using the -Xmx and -Xms
> >switches, but nothing seemed to help. I then switched to IBMJava2-14 and
> >it solved the problem.
> >
> >Steve
> >
> >-Original Message-
> >From: Darian Shimy [mailto:[EMAIL PROTECTED]
> >Sent: Tuesday, Apri
thing seemed to help. I then switched to IBMJava2-14 and
it solved the problem.
Steve
-Original Message-
From: Darian Shimy [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 01, 2003 1:16 PM
To: 'Tomcat Users List'
Subject: RE: Out of memory error
Set the memory using -Xmx and -Xm
omcat Users List'
Subject: RE: Out of memory error
Set the memory using -Xmx and -Xms. This should take care of the memory
problems.
If you want to monitor the heap usage, add -verbose:gc
--
Darian Shimy
> -Original Message-
> From: Januski, Ken [mailto:[EMAIL PROTECTED]
Set the memory using -Xmx and -Xms. This should take care of the memory
problems.
If you want to monitor the heap usage, add -verbose:gc
--
Darian Shimy
> -Original Message-
> From: Januski, Ken [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 31, 2003 12:21 PM
> To: Tomcat Users List
Hi,
>> I'me sure this one has been done to death but does anyone have any
>> guidelines on the settings of -Xms and -Xmx ($CATLINA_OPTS), or how
to
>> derive the optimal setting for these ?
Yes, it has been asked many times. That's because everyone seems to
think there's a magical guideline some
Steve,
What we did is to start the site up (our sites load and initialize all sorts of stuff on startup),
wait till its all done setting itself up, and see what Runtime.totalMemory() is. Use that for -Xms
(startup size). This should make the site start quicker because it will need to garbage c
Message -
>From: "Michael Nicholson" <[EMAIL PROTECTED]>
>To: "Tomcat Users List" <[EMAIL PROTECTED]>
>Sent: Wednesday, October 02, 2002 4:19 AM
>Subject: Re: Out of Memory Exception
>
>
>
>
>>We'll probably need
: Wednesday, October 02, 2002 4:19 AM
Subject: Re: Out of Memory Exception
> We'll probably need more information... what are trying to do? Does it
> happen immediately, or minutes/hours/days/weeks down the road? What OS
are
> you running it on? etc.
>
> Mike
> - Original
Roger,
As I seem to recall, 64 Meg is the default max for the java VM. So you
probably have to go beyond 68M.
Another thing could be memory leaks, i.e. memory not reclaimed by the
garbage collector. Unless you have a fairly good explanation why you need
more than the 64Mb, I would consider lookin
We'll probably need more information... what are trying to do? Does it
happen immediately, or minutes/hours/days/weeks down the road? What OS are
you running it on? etc.
Mike
- Original Message -
From: "Roger Ting" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, September 29,
On Tuesday 27 August 2002 18:41, you wrote:
> Hi mike,
>
> Well, i tried changing the jvm through catalina.bat (tc 4.0.4) by
> adding the Catalina_opts = -Xms512m -Xmx512m but it seems it didn't change
> anything in the total memory cause I still see it being at 66m
> (www.motovan.com/Memory
l for now and will try to incorporate
servlet by servlet until i found where the error comes from.
Thanks, Pat
-Original Message-
From: Mike Jackson [mailto:[EMAIL PROTECTED]]
Sent: August 26, 2002 6:31 PM
To: Tomcat Users List
Subject: RE: OUT OF MEMORY ERROR
If you don't close the
Hi Pat,
Not closing a database connection should not run you out of memory, unless
you have ALOT of traffic or no memory to begin with. Connections should time
out after a period of time, if you have relinquished to reference to them.
It is obviously best to close them explicitly when you are fin
1 - 100 of 129 matches
Mail list logo