When starting tomcat it is running Out of Memory.
There were three Hosts in server.xml file pointing to
same appBase. If I remove one of the Hosts or if I change appBase
the problem is disappearing. Do you know why? Your explanation will
be greatly appreciated.
Thanks
Kamala
Hi Kamala,
Try http://jakarta.apache.org/tomcat/faq/memory.html
Usually it is the -X settings you need to play with.
Assaf
--- Vadlamudi, Kamala
[EMAIL PROTECTED] wrote:
When starting tomcat it is running Out of Memory.
There were three Hosts in server.xml file pointing
to
same
Hi Assaf
Thanks for the mail. I used the site you sent me to
Check the following
- The ram on my system is 128MB.
- The out of memory problem is showing up way before
system is running out of threshold.
Is it possible the out of memory is coming because the
system ran out of file descriptors
if ((your code does not leak memory) and
(you use struts) and
(you use tomcat manager/ant task to deploy/undeploy your web app)
and
!(you use tomcat 5.5.9/+)) {
Upgrade_to_5.5.9/+;
}
-Original Message-
From: Vadlamudi, Kamala [mailto:[EMAIL PROTECTED
It's possible. I think I saw something about it on the
running.txt file.
Assaf
--- Vadlamudi, Kamala
[EMAIL PROTECTED] wrote:
Hi Assaf
Thanks for the mail. I used the site you sent me to
Check the following
- The ram on my system is 128MB.
- The out of memory problem is showing up way
Hi,
I just worried that my tomcat hangs,
if my Probelm Out of Memory occurs, then there will no ways I can stop Tom
cat else than use
#kill -9 pid_tomcat
in my Linux,
what can I do in TOmcat so if those out of memory problem occurs, tomcat will
quit by it self,
then I can prepate in my
Hi all, I'm new in this mailling list
I'm currently end up ways to solve problem out of memory in tomcat
this is
startup script in my Linux Fedora Core 2
CATALINA_OPTS= -Djava.awt.headless=true -server -Xss128k -Xincgc -Xms256m
-Xmx256m
CPU is on 1Giga Memory
and the problem out of memory
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
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
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 correctly
Hard restart Tomcat when
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 where you
]
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
3 things to do;
Get a profiler to see where
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 much - you'll
, and almost 1 page
out.println(a);
can this cause out of memory problem ?
It won't help much - you'll build up String objects very quickly. See
http://java.sun.com/j2se/1.4.2/docs/api/java/lang/StringBuffer.html for
a better approach that won't leave so many string fragments lying
around
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
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 ;-)
what
it work, but that wasn't the case ;-(
normal webapp? I mean I have rarely such a problem with my struts
busines apps, the memory-critical unnormal webapp was kind of AI
program needing really a lot of rules and stuff.
Am Dienstag, den 20.09.2005, 22:17 +0700 schrieb NoKideen:
On Tuesday 20
Hi!
I'm experiencing a problem with my web application as it seems to run
out of memory after about a week in production.
I used JRockIT console to inspect what was using memory, and I found
that a have quite a few instances of
org.apache.jasper.runtime.BodyContentImplBodyContentImpl
Hello.
We are running an application on Tomcat 4.1.30, and java 1.4.2.
Our application is using the struts framework with jsp's, and cocoon to
render the xml's.
There seems to be a major memory leak at startup - the application seems
to constantly be using between 40 - 45 mb of the memory. We
--- Ingrid Morterud Rosvall [EMAIL PROTECTED] wrote:
Hello.
We are running an application on Tomcat 4.1.30, and
java 1.4.2.
Our application is using the struts framework with
jsp's, and cocoon to
render the xml's.
There seems to be a major memory leak at startup -
the application
Ingrid,
I am not on the tomcat developer committer list so my reply is just an FYI
from my own experience.
I saw unstable performance myself in a very similar deployment of Struts
applications similar to yours. I too thought there was a memory leak and
there may be, but I don't think
Hi,
Can you share how much memory do you have and how much used by tomcat
and what JAVA_OPTs do you have.
Thanks a lot,
Mark.
--- Michael Oliver [EMAIL PROTECTED] wrote:
Ingrid,
I am not on the tomcat developer committer list so my reply is just
an FYI
from my own experience.
I saw
Hi,
On my test environment I am just on 64 Mb of memory. I know I can
increase that - but that still will not fix my initial problem.
My application is using 40 - 45 Mb - and that is more than I thought it
should use.
At the moment I have no JAVA_OPTS.
Thanks for trying to help
with 64 mb total
memory. I know I can
increase that, still increasing it will not solve
the original problem.
To be quite honest I am not quite sure what I would
be expecting to be
using, but I would think that the application up and
running would use
less than what it is using at the moment
There are some memory leaks in the AJP/1.3 Connector (e.g.
http://issues.apache.org/bugzilla/show_bug.cgi?id=32141), but the CVS logs
say that these were introduced after 4.1.27.
Jochen Wiedmann [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
we have an elder application running
Hi,
we have an elder application running on Tomcat 4.1.27 with Java
1.4.2_08 on Sparc Solaris 8. Recently we moved the application to a
new machine running on Sparc Solaris 9. Since then we have a serious
memory problem and need to restart the same application twice a day.
One minor change: We
I'm deploying and then undeploying a very simple spring-based test app
to my tomcat container. However, my WebappClassLoader never gets
garbage collected, because tomcat objects (loaded by the
StandardClassLoader) have hard references to the classes of my app.
I've figured out / fixed a couple of
connector is configured as follows
Connector port=3060 maxThreads=200 mainSpareThreads=20
maxSpareThreads=75 enableLookups=false redirectPort=8443 debug=0
protocol=AJP/1.3 /
When the heap memory for the tomcat process reaches 700 Mb (as shown by
solaris top command), for a few requests, the CPU
From: Bhaskar Mulpuri [mailto:[EMAIL PROTECTED]
Subject: tomcat 5.0.28 - CPU spikes after heap memory reaches 700MB
When the heap memory for the tomcat process reaches 700 Mb
(as shown by solaris top command), for a few requests, the
CPU spikes to 90-95 %.
Is it possible
The heap memory is still listed at 700 Mb when the CPU spikes up. We have
also set the max memory at 2GB for the tomcat JVM process, but we see the
same behavior.
I have not seen any error messages in the logs either. So I have not been
looking at it from the OOME perspective. Also, we checked
I am totally failing to get form based security to work.
One thing that is bugging me is that under the security-constraint tag in
the web.xml file there is the realm-name tag.
What should this be?
For the standard Realm provided by tomcat, it seems to have a name of
UserDatabase, but if I
Hello,
May be it's some kind of stupid question, but where in tomcat
environment may be memory leak?
I can imagine three subjects:
- objects stored in application scope
- objects stored in session scope
- objects handled by static properties
Is there any other place where objects can
Thank you very much for your input gentlemen. Increasing PermGen is a great
idea, because I do see my server giving me out of memory permgen error at
least twice a day and now it makes sense why, I was thinking my -Xmx
settings 1024m should take care of my needs for now and that was wrong, I
From: Oleg [mailto:[EMAIL PROTECTED]
Now regarding shared/lib directory I thought that every
application loads
its own copy of those libraries, but if its only one time
load and since all
my applications are identical copies (only data changes) I
might as well
move all my classes
From: Oleg [mailto:[EMAIL PROTECTED]
I am trying to approximate the amount of memory my server
will need running
tomcat. I understand that a lot depends on how the appication handles
resources, however at this point I am trying to figure out
what will be the
mimimum needed. In my case
Hi,
I am trying to approximate the amount of memory my server will need running
tomcat. I understand that a lot depends on how the appication handles
resources, however at this point I am trying to figure out what will be the
mimimum needed. In my case I have virtual hosting setup, with all
From: Oleg [mailto:[EMAIL PROTECTED]
Subject: Calculating required memory
Would I be correct to estimate that Tomcat will atleast need
n(number of users/applications) * mb(total size of shared/lib)
In a word, no - disk space occupied by class files has no correlation
with memory consumed
PROTECTED]
Sent: Sunday, August 14, 2005 7:39 PM
To: Tomcat Users List
Subject: Re: virtual host memory usage
I am sorry, what do you mean by host class loader? From what
I understand
there are 3 ways to load classes, /common/lib (used by
tomcat), shared/lib
(used by all applications
.
George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585
-Original Message-
From: Oleg [mailto:[EMAIL PROTECTED]
Sent: Sunday, August 14, 2005 7:39 PM
To: Tomcat Users List
Subject: Re: virtual host memory usage
I am sorry, what do you mean by host
:
The obvious first guess is that you have a class that is in the host
classloader, and not the common classloader, and that class is consuming
large amounts of memory.
George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585
-Original Message-
From
Why running 100 virutal hosts in Tomcat takes up much more memory than
running a 100 identical applications under one host? Is there a way to
configure Tomcat to run both the same?
Thank you
Oleg
To my knowledge (sometimes limited but open to expansion) the answer is no.
I base this on the understanding that each host loaded by Tomcat takes up
memory space. Then add the application to that.
Doug
- Original Message -
From: Oleg [EMAIL PROTECTED]
To: Tomcat Users List tomcat
The obvious first guess is that you have a class that is in the host
classloader, and not the common classloader, and that class is consuming
large amounts of memory.
George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585
-Original Message-
From: Oleg
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=softwaresubsection=tcservcfgpage=overview
regards
Matej
Yun Yang wrote:
Hello,
I am using Tomcat5.0.28. When I
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
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
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
service.bat file itself. I've been known
You would probably be better served looking at what you can change in
the app so it does not require so much RAM. It has been my experience
that when I get an out of memory error it is because I was forgetting to
close an object, or calling too many large objects globally, or reading
in too
.
-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 not require so much RAM. It has been my
experience
Hello,
I am using Tomcat5.0.28. When I try to run my web application, I got
this message:
exception
javax.servlet.ServletException: Servlet execution threw an exception
root cause
java.lang.OutOfMemoryError
How can I solve this problem? I tried to uninstall tomcat5 as service
using
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 tomcat-user@jakarta.apache.org
Sent: Thursday, August 11, 2005 2:31 PM
Subject: Out of memory
Hello,
I am using
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
virtual users and failed for when tried with
more than 1200 users .
Will there be any problem for tomcat for maintaining more than 1200
sessions in memory??
regards
Srikanth.P
On 7/14/05, Bhaskar [EMAIL PROTECTED] wrote:
You need to check on whether it is giving Outofmemory error is
immediately
Hi All,
Recently we started load testing our application using Jmeter.
Following error is coming in tomcat while test is run at higher loads like 1500
virtual users etc
==
SEVERE: Caught exception (java.lang.OutOfMemoryError) executing
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
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
Connector port=80
maxThreads=500 minSpareThreads=25 maxSpareThreads=75
enableLookups
to the main page (that means every virtual
user will be requesting the PollServerForData.jsp page after every one
minute)
This test worked for 1200 virtual users and failed for when tried with
more than 1200 users .
Will there be any problem for tomcat for maintaining more than 1200
sessions in memory
Hi,
the Tomcat FAQ describes how to adjust the memory settings.
Christoph
Dave Morrow wrote:
Hi all.
I recently updated to Tomcat 5.5
All is well, with one exception. In prior releases (4.1) I could edit the
catalina.sh script to adjust the memory settings. Where would I do
Ok, here's what happened. I'm running Apace 2.0 on Fedora Core 4, connecting
to Tomcat 5.0.28 with Jk 1.2.10. In my /etc/httpd/conf/httpd.conf, I had:
#Jk stuff
LoadModule jk_module /usr/lib/httpd/modules/mod_jk.so
JkWorkersFile /etc/httpd/conf/workers.properties
JkLogFile
Hi all.
I recently updated to Tomcat 5.5
All is well, with one exception. In prior releases (4.1) I could edit the
catalina.sh script to adjust the memory settings. Where would I do this in 5.5?
David A. Morrow
Technical Systems Lead
Autodata Solutions Company
[EMAIL PROTECTED]
http
Working with a couple different tomcat 5.0.X versions, I'm having
issues with tomcat's memory footprint increasing when I live redeploy.
I do this 2 or 3 times and the server runs out of memory, though
normally it can run for weeks without problem.
I can't seem to find direct references
PROTECTED]
Sent: Tuesday, June 28, 2005 5:34 PM
To: tomcat-user@jakarta.apache.org
Subject: memory issues with live redeploy
Working with a couple different tomcat 5.0.X versions, I'm having
issues with tomcat's memory footprint increasing when I live redeploy.
I do this 2 or 3 times and the server
Livanov [EMAIL PROTECTED] wrote:
Hi, Charl.
Very useful link,
http://www.jchem.com/doc/admin/tomcat.html
try to edit ENVIRONMENT VARIABLES - JAVA_OPTS
CG How do you configure Tomcat (4.1.31) to be
allocated
CG more memory in Windows when using the installed
CG Programs/Apache Tomcat 4.1
From: Charl Gerber [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat, windows and more memory
I take it if you run Tomcat 4.x from the Start Menu,
you there is no way to set options then? *sigh*
The JVM options are kept in the registry when Tomcat runs as a service.
I don't know about Tc 4
PROTECTED]
Gesendet: Montag, 20. Juni 2005 15:53
An: Tomcat Users List
Betreff: RE: Tomcat, windows and more memory
From: Charl Gerber [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat, windows and more memory
I take it if you run Tomcat 4.x from the Start Menu,
you there is no way to set options
Hi, Charl.
Very useful link,
http://www.jchem.com/doc/admin/tomcat.html
try to edit ENVIRONMENT VARIABLES - JAVA_OPTS
CG How do you configure Tomcat (4.1.31) to be allocated
CG more memory in Windows when using the installed
CG Programs/Apache Tomcat 4.1/Start Tomcat shortcuts?
CG
How do you configure Tomcat (4.1.31) to be allocated
more memory in Windows when using the installed
Programs/Apache Tomcat 4.1/Start Tomcat shortcuts?
These shortcuts do not seem to use the catalina.bat
file, so setting the JAVA_OPTS there has no effect.
I tried putting the java options -Xmx512
This is no doubt a java-related question, but it seems that with virtual
memory, my JVM should never run out of memory (aside from a nasty bug
and lack of swap disk space). Is there a way to allow my web
application to have as much memory as the OS will give it, yet not have
the JVM attempt
algorithm will determine
for itself how much of the memory it needs.
Here is more info:
http://java.sun.com/developer/JDCTechTips/2005/tt0216.html#2
hth,
Christoph
David Wall wrote:
This is no doubt a java-related question, but it seems that with virtual
memory, my JVM should never run out
My tomcat instance is now running 10 webapps and will
most likely get more, in the region of 15. My service
provider configures my server with 64MB heap space.
Question is, what affects the memory usage? Purely the
number of hits (ie active sessions) or the number of
webapps as well? Should my
[mailto:[EMAIL PROTECTED]
Sent: 14 June 2005 10:33
To: tomcat-user@jakarta.apache.org
Subject: Tomcat memory question
My tomcat instance is now running 10 webapps and will
most likely get more, in the region of 15. My service
provider configures my server with 64MB heap space.
Question is, what
to run 15-20 webapps but without knowing
the exact size of them all and the amount of hits
you expect I couldn't say for sure.
Ta
Matt
-Original Message-
From: Charl Gerber [mailto:[EMAIL PROTECTED]
Sent: 14 June 2005 10:33
To: tomcat-user@jakarta.apache.org
Subject: Tomcat memory
If Tomcat does run out of memory, what will happen?
Will a user just temporarily not be able to access the
apps until another session becomes available, or will
it crash and I have to restart?
Will 128MB be fine?
--- Dale, Matt [EMAIL PROTECTED] wrote:
Both active sessions and the number
-
From: Charl Gerber [mailto:[EMAIL PROTECTED]
Sent: 14 June 2005 10:33
To: tomcat-user@jakarta.apache.org
Subject: Tomcat memory question
My tomcat instance is now running 10 webapps and
will
most likely get more, in the region of 15. My
service
provider configures my server
: Tomcat memory question
My tomcat instance is now running 10 webapps and
will
most likely get more, in the region of 15. My
service
provider configures my server with 64MB heap
space.
Question is, what affects the memory usage?
Purely
the
number of hits (ie active
objects and holding on to references to them
-Tim
Charl Gerber wrote:
My tomcat instance is now running 10 webapps and will
most likely get more, in the region of 15. My service
provider configures my server with 64MB heap space.
Question is, what affects the memory usage? Purely the
number of hits
tomcat instance is now running 10 webapps and
will
most likely get more, in the region of 15. My
service
provider configures my server with 64MB heap
space.
Question is, what affects the memory usage? Purely
the
number of hits (ie active sessions) or the number
of
webapps as well
run out of memory, what will happen?
Will a user just temporarily not be able to access the
apps until another session becomes available, or will
it crash and I have to restart?
Will 128MB be fine?
--- Dale, Matt [EMAIL PROTECTED] wrote:
Both active sessions and the number of webapps
You will get an OutOfMemoryException for that particular request, all requests
for memory will fail until some memory is freed up so it's likely that when you
get to the max, some/many/all of your users may be affected.
From the sounds of it 128MB would be more appropriate to your situation
Wow...where to begin...to answer in very general terms...
What affects memory usage?
The short answer is everything, and includes the two points you listed
below.
The long answer is it depends...how many concurrent sessions will each
webapp require...what size do you anticipate each session
Wow...where to begin...to answer in very general terms...
What affects memory usage?
The short answer is everything, and includes the two points you listed
below.
The long answer is it depends...how many concurrent sessions will each
webapp require...what size do you anticipate each session
From: Tim Funk [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat memory question
But class definitions (IIRC) do not go onto the heap so you
could have a lot of classes without any worries.
Actually, an instance of java.lang.Class is created for each
classloader/class combination
similar kind of memory leak, but that was while
reloading the context. There was a steady increase in the memory usage
after each autoReload of my struts 1.2.7-hibernate 2.1.8 powered
webApp in Tomcat 5.5.7/JDK 1.5/Fedora Core 2.
At the beginning: the process memory used by tomcat was 6.6
...
I'm running Tomcat 5.5.9; isapi redirector 1.2.13; J2SE 1.5.0.03; JDBC
3.1.8a; to support 2 very low volume websites. I have some kind of memory
leak which triples tomcat's memory usage over about 4-5 days.
I downloaded and installed AppPerfect profiler, and it shows a steady,
consistent
I have experienced similar kind of memory leak, but that was while
reloading the context. There was a steady increase in the memory usage
after each autoReload of my struts 1.2.7-hibernate 2.1.8 powered
webApp in Tomcat 5.5.7/JDK 1.5/Fedora Core 2.
At the beginning: the process memory used
doesn't seem to clear it automatically. If I use
the profiler's run GC the objects are released,
the heap is returned to full size, and then the objectes start piling up
again.
What you describe is not a memory leak, just normal operation of the
JVM. Tomcat is clearly doing something on a regular
of memory
leak which triples tomcat's memory usage over about 4-5 days.
I downloaded and installed AppPerfect profiler, and it shows a steady,
consistent increase in objects and a corresponding decrease in the heap
size. Even with my webserver shutdown and no Tomcat usage, this leak is
persistent
Hi,
I'm having OutOfMemory error while Tomcat tries to compile jsp files. The
problem occures few times in day so it's quite hard to repeat.
Tomcat is configured to run javac in separate JVM with fork=true option. I
tried to give more memory for ant using ANT_OPTS, but it didn't help.
I read
until the page get's displayed.
Cheers
Bernhard
-Ursprüngliche Nachricht-
Von: Vesa Varimo [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 27. Mai 2005 12:45
An: tomcat-user@jakarta.apache.org
Betreff: jspServlet runs out of memory while compiling some jsp files
using fork=true
Hi
-user@jakarta.apache.org
Sent: Friday, May 27, 2005 3:25 PM
Subject: AW: jspServlet runs out of memory while compiling some jsp files
using fork=true
Hi,
I would suggest that you do a precompilation of your jsps on a deployment
machine which is separate from the live machine.
So your
: Friday 27 May 2005 13:34
To: Tomcat Users List
Subject: Re: jspServlet runs out of memory while compiling
some jsp files using fork=true
Yes, that would be one solution, but not suitable for our
case because our
webmasters are constantly updating jsp pages on our
production servers
Hi,
no the webapp is running whole time without redeployments.
The jsp pages are quite large, 5000-1 rows and there are many of them.
Can this affect to memory usage of javac compiler?
This is a strange problem, because sometimes these same pages compile just
fine, sometimes they don't
simple, stable and secure. Nobody
want's to go back to the old copy solution.
Cheers
Bernhard
-Ursprüngliche Nachricht-
Von: Vesa Varimo [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 27. Mai 2005 14:59
An: Tomcat Users List
Betreff: Re: jspServlet runs out of memory while compiling some
' tomcat-user@jakarta.apache.org
Sent: Friday, May 27, 2005 4:02 PM
Subject: AW: jspServlet runs out of memory while compiling some jsp files
using fork=true
Hi,
I think it happens randomly because it depends on the actual load on the
server.
Where there is not much traffic it's OK
Subject: Re: jspServlet runs out of memory while compiling
some jsp files using fork=true
Hmh.. how does you deployment script work? Do you compile jsp
pages in some
other server than the live server?
Well, I didn't write those pages :), I just have to live with
legacy code :D
Vesa
[!-- precompile include
--]]/replacetoken
/replace
/target
-Ursprüngliche Nachricht-
Von: Vesa Varimo [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 27. Mai 2005 15:16
An: Tomcat Users List
Betreff: Re: jspServlet runs out of memory while compiling some jsp
files using
cluster and each node have loads from
0.1 to 0.4 and there are plenty of memory available.
I think that the problem is that javac doesn't have enough memory to compile
and it's impossible to give more memory for it afaik.
Other reason could be javac leaking memory but this is unlikely because it's
persistence storage ) in memory between web applications? Are
the add-on cache modules like JBoss cache etc. only solution?
Regards.
is the best way to share other java Object information (without
using common persistence storage ) in memory between web applications? Are
the add-on cache modules like JBoss cache etc. only solution?
The problem is that the webapps have their own distinct classloader
hierarchies, so that's one thing
Will,
I am perfectly aware of everything you said. I have been working
with Tomcat for last few years. I should have clarified that before.
I can do lot of these things using clusters and in-memory session
replications. I was looking for some plug-in modules for Tomcat
1 - 100 of 1822 matches
Mail list logo