Tomcat Out of Memory - Host appBase related

2005-09-23 Thread Vadlamudi, Kamala
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

Re: Tomcat Out of Memory - Host appBase related

2005-09-23 Thread Assaf
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

RE: Tomcat Out of Memory - Host appBase related

2005-09-23 Thread Vadlamudi, Kamala
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

RE: Tomcat Out of Memory - Host appBase related

2005-09-23 Thread Phillip Qin
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

RE: Tomcat Out of Memory - Host appBase related

2005-09-23 Thread Assaf
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

Automatically Quit from Tomcat if Exception found (Out of Memory Exception)

2005-09-21 Thread NoKideen
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

Out of Memory on Jakarta Tomcat 5.0.19, jdk1.5.0_04

2005-09-20 Thread NoKideen
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

RE: Out of Memory on Jakarta Tomcat 5.0.19, jdk1.5.0_04

2005-09-20 Thread Allistair Crossley
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

RE: Out of Memory on Jakarta Tomcat 5.0.19, jdk1.5.0_04

2005-09-20 Thread Phillip Qin
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

RE: Out of Memory on Jakarta Tomcat 5.0.19, jdk1.5.0_04

2005-09-20 Thread Caldarale, Charles R
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

Re: Out of Memory on Jakarta Tomcat 5.0.19, jdk1.5.0_04

2005-09-20 Thread NoKideen
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

RE: Out of Memory on Jakarta Tomcat 5.0.19, jdk1.5.0_04

2005-09-20 Thread Allistair Crossley
] 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

RE: Out of Memory on Jakarta Tomcat 5.0.19, jdk1.5.0_04

2005-09-20 Thread Peter Crowther
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

Re: Out of Memory on Jakarta Tomcat 5.0.19, jdk1.5.0_04

2005-09-20 Thread Mark
, 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

RE: Out of Memory on Jakarta Tomcat 5.0.19, jdk1.5.0_04

2005-09-20 Thread Sonja Löhr
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

Re: Out of Memory on Jakarta Tomcat 5.0.19, jdk1.5.0_04

2005-09-20 Thread NoKideen
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

Re: Out of Memory on Jakarta Tomcat 5.0.19, jdk1.5.0_04

2005-09-20 Thread Sonja Löhr
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

Body-ContentImplBodyContentImpl uses all memory

2005-09-19 Thread Anders Skar
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

Memory leak in Tomcat

2005-09-12 Thread Ingrid Morterud Rosvall
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

Re: Memory leak in Tomcat

2005-09-12 Thread Wade Chandler
--- 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

RE: Memory leak in Tomcat

2005-09-12 Thread Michael Oliver
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

RE: Memory leak in Tomcat

2005-09-12 Thread Mark
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

RE: Memory leak in Tomcat

2005-09-12 Thread Ingrid Morterud
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

RE: Memory leak in Tomcat

2005-09-12 Thread Wade Chandler
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

Re: Suspected memory leak in Tomcat or JVM?

2005-09-10 Thread Bill Barker
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

Suspected memory leak in Tomcat or JVM?

2005-09-09 Thread Jochen Wiedmann
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

Memory leak in simple spring webapp

2005-09-02 Thread [EMAIL PROTECTED]
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

tomcat 5.0.28 - CPU spikes after heap memory reaches 700MB

2005-08-30 Thread Bhaskar Mulpuri
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

RE: tomcat 5.0.28 - CPU spikes after heap memory reaches 700MB

2005-08-30 Thread Caldarale, Charles R
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

RE: tomcat 5.0.28 - CPU spikes after heap memory reaches 700MB

2005-08-30 Thread Bhaskar Mulpuri
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

How do I map realm name to none memory database

2005-08-29 Thread Alan Chandler
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

application memory leak

2005-08-26 Thread Àíäðèåâñêèé Äìèòðèé
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

Re: Calculating required memory

2005-08-18 Thread Oleg
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

RE: Calculating required memory

2005-08-18 Thread Peter Crowther
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

RE: Calculating required memory

2005-08-17 Thread Peter Crowther
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

Calculating required memory

2005-08-16 Thread Oleg
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

RE: Calculating required memory

2005-08-16 Thread Caldarale, Charles R
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

RE: virtual host memory usage

2005-08-15 Thread George Sexton
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

Re: virtual host memory usage

2005-08-15 Thread Oleg
. 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

Re: virtual host memory usage

2005-08-14 Thread Oleg
: 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

virtual host memory usage

2005-08-13 Thread Oleg
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

Re: virtual host memory usage

2005-08-13 Thread Parsons Technical Services
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

RE: virtual host memory usage

2005-08-13 Thread George Sexton
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

Re: Out of memory

2005-08-12 Thread Matej Kafadar
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

RE: Out of memory

2005-08-12 Thread Allistair Crossley
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

RE: Out of memory

2005-08-12 Thread Wolfgang Hackl
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

RE: Out of memory

2005-08-12 Thread Allistair Crossley
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

Re: Out of memory

2005-08-12 Thread Brian Cook
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

RE: Out of memory

2005-08-12 Thread Allistair Crossley
. -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

Out of memory

2005-08-11 Thread Yun Yang
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

Re: Out of memory

2005-08-11 Thread Ken Menzel
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

Re: out of memory error while load testing

2005-07-15 Thread Bhaskar
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

Re: out of memory error while load testing

2005-07-15 Thread Bhaskar
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

out of memory error while load testing

2005-07-14 Thread srikanth peddireddy
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

Re: out of memory error while load testing

2005-07-14 Thread Bhaskar
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

Re: out of memory error while load testing

2005-07-14 Thread Peddireddy Srikanth
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

Re: out of memory error while load testing

2005-07-14 Thread Peddireddy Srikanth
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

Re: Tomcat 5.5 Memory (not in catalina.sh anymore).

2005-07-11 Thread Christoph Kutzinski
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

Jk's shared memory file - fixed? bug?

2005-07-10 Thread Paul George Constantine
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

Tomcat 5.5 Memory (not in catalina.sh anymore).

2005-07-10 Thread Dave Morrow
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

memory issues with live redeploy

2005-06-28 Thread George Finklang
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

RE: memory issues with live redeploy

2005-06-28 Thread Scott Stewart
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

Re: Tomcat, windows and more memory

2005-06-20 Thread Charl Gerber
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

RE: Tomcat, windows and more memory

2005-06-20 Thread Caldarale, Charles R
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

AW: Tomcat, windows and more memory

2005-06-20 Thread Sklarek, Dirk
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

Re: Tomcat, windows and more memory

2005-06-19 Thread Sergey Livanov
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

Tomcat, windows and more memory

2005-06-18 Thread Charl Gerber
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

Out of memory

2005-06-16 Thread David Wall
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

Re: Out of memory

2005-06-16 Thread Christoph Kutzinski
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

Tomcat memory question

2005-06-14 Thread Charl Gerber
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

RE: Tomcat memory question

2005-06-14 Thread Dale, Matt
[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

RE: Tomcat memory question

2005-06-14 Thread Charl Gerber
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

RE: Tomcat memory question

2005-06-14 Thread Charl Gerber
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

Re: Tomcat memory question

2005-06-14 Thread delbd
- 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

Re: Tomcat memory question

2005-06-14 Thread Charl Gerber
: 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

Re: Tomcat memory question

2005-06-14 Thread Tim Funk
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

Re: Tomcat memory question

2005-06-14 Thread Charl Gerber
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

Re: Tomcat memory question

2005-06-14 Thread delbd
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

RE: Tomcat memory question

2005-06-14 Thread Dale, Matt
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

RE: Tomcat memory question

2005-06-14 Thread Rob Dickey
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

RE: Tomcat memory question

2005-06-14 Thread Rob Dickey
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

RE: Tomcat memory question

2005-06-14 Thread Caldarale, Charles R
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

Re: Help with memory leak using Tomcat

2005-06-13 Thread Sergey Pariev
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

Re: Help with memory leak using Tomcat

2005-06-10 Thread Mark Thomas
... 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

Re: Help with memory leak using Tomcat

2005-06-10 Thread sudip shrestha
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

[Fwd: Re: Help with memory leak using Tomcat]

2005-06-10 Thread Mark Thomas
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

Help with memory leak using Tomcat

2005-06-09 Thread Ed Hamilton
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

jspServlet runs out of memory while compiling some jsp files using fork=true

2005-05-27 Thread Vesa Varimo
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

AW: jspServlet runs out of memory while compiling some jsp files using fork=true

2005-05-27 Thread Bernhard Slominski
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

Re: jspServlet runs out of memory while compiling some jsp files using fork=true

2005-05-27 Thread Vesa Varimo
-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

RE: jspServlet runs out of memory while compiling some jsp files using fork=true

2005-05-27 Thread Steve Kirk
: 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

Re: jspServlet runs out of memory while compiling some jsp files using fork=true

2005-05-27 Thread Vesa Varimo
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

AW: jspServlet runs out of memory while compiling some jsp files using fork=true

2005-05-27 Thread Bernhard Slominski
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

Re: jspServlet runs out of memory while compiling some jsp files using fork=true

2005-05-27 Thread Vesa Varimo
' 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

RE: jspServlet runs out of memory while compiling some jsp files using fork=true

2005-05-27 Thread Steve Kirk
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

AW: jspServlet runs out of memory while compiling some jsp files using fork=true

2005-05-27 Thread Bernhard Slominski
[!-- 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

Re: jspServlet runs out of memory while compiling some jsp files using fork=true

2005-05-27 Thread Vesa Varimo
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

In-memory session replication without Clustering

2005-05-13 Thread Atanu Neogi
persistence storage ) in memory between web applications? Are the add-on cache modules like JBoss cache etc. only solution? Regards.

Re: In-memory session replication without Clustering

2005-05-13 Thread Will Hartung
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

Re: In-memory session replication without Clustering

2005-05-13 Thread Atanu Neogi
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   2   3   4   5   6   7   8   9   10   >