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
: Oleg [mailto:[EMAIL PROTECTED] Sent: Saturday, August 13, 2005 11:20 AM To: Tomcat Users List Subject: virtual host memory usage 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

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
-user@jakarta.apache.org Sent: Saturday, August 13, 2005 1:19 PM Subject: virtual host memory usage 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 George Sexton
[mailto:[EMAIL PROTECTED] Sent: Saturday, August 13, 2005 11:20 AM To: Tomcat Users List Subject: virtual host memory usage 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

memory usage

2005-03-18 Thread t.n.a.
Hi everyone, I'm not quite sure where to post this problem - the tomcat, tapestry or cayenne mailing list - but here goes... I have an app built on the mentioned technologies. I click arround and monitor the memory usage (using the Win task manager - good enough for rough measurements

Re: memory usage

2005-03-18 Thread QM
On Fri, Mar 18, 2005 at 07:43:41PM +0100, t.n.a. wrote: : rough measurements). The memory usage seems to grow up to a 100 MB : (Cayenne accesses a single table of about fifty attributes and a 1000 : rows - don't ask) and sometimes - I can't reproduce the problem now - : the app brakes when

Memory Usage from Mbean

2005-02-10 Thread Roberto Cosenza
Hi. I'm trying to build a Servlet to retrieve some memory information about tomcat. I'm using Tomcat 5.5.7. Which bean contains the jvm memory data? Thanx ___ Roberto Cosenza http://robcos.com - To unsubscribe, e-mail: [EMAIL

Tomcat Connections And Memory Usage

2004-12-03 Thread David Rickard
Apache Version: 2.0.47 Tomcat Version: 4.1.29 Connector: mod_jk Server: SunOS 5.9 Generic_112233-07 sun4u sparc SUNW,Ultra-250 Does Tomcat have a configurable maximum number of simultaneous connections (ala Apache's MaxClients property)? If so, how/where is this value configured? If not, is the

Re: Tomcat Connections And Memory Usage

2004-12-03 Thread David Boyer
To answer the first part of your question, you can configure the number of request threads on a per-connector basis: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/coyote.html http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/jk2.html [EMAIL PROTECTED] 12/3/2004 1:55:39 PM

RE: Tomcat Connections And Memory Usage

2004-12-03 Thread Shapira, Yoav
to do some coding. Yoav Shapira http://www.yoavshapira.com -Original Message- From: David Rickard [mailto:[EMAIL PROTECTED] Sent: Friday, December 03, 2004 2:56 PM To: [EMAIL PROTECTED] Subject: Tomcat Connections And Memory Usage Apache Version: 2.0.47 Tomcat Version: 4.1.29 Connector

Re: Memory Usage - Tomcat 5.0.25

2004-08-12 Thread teknokrat
Nandish Rudra wrote: Hello Everyone, I am writing about this error from yesterday. I used JProfiler to monitor my memory usage. And am now sure that each and every static object is trashed when the application is undeployed and the profiler shows that memory is free and all instance of the objects

RE: Memory Usage - Tomcat 5.0.25

2004-08-12 Thread Shapira, Yoav
Hi, LONG-snip / Does anyone have any idea as to why this is happening? Try looking at jvmstat (http://developers.sun.com/dev/coolstuff/jvmstat/) My own tests with show that its the permanent space of objects that gets filled up and not reclaimed after each reload. Yup, that's as expected.

RE: FW: Memory Usage - Tomcat 5.0.25

2004-08-12 Thread Nandish Rudra
ECI Conference Call Services, LLC -Original Message- From: Joseph Shraibman [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 11, 2004 8:54 PM To: Tomcat Users List Subject: Re: FW: Memory Usage - Tomcat 5.0.25 Nandish Rudra wrote: Hello Everyone, I am writing about this error

Re: FW: Memory Usage - Tomcat 5.0.25

2004-08-12 Thread Joseph Shraibman
Users List Subject: Re: FW: Memory Usage - Tomcat 5.0.25 Nandish Rudra wrote: Hello Everyone, I am writing about this error from yesterday. I used JProfiler to monitor my memory usage. And am now sure that each and every static object is trashed when the application is undeployed and the profiler shows

RE: FW: Memory Usage - Tomcat 5.0.25

2004-08-11 Thread Nandish Rudra
-Original Message- From: QM [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 10, 2004 8:38 PM To: Tomcat Users List Subject: Re: FW: Memory Usage - Tomcat 5.0.25 On Tue, Aug 10, 2004 at 04:54:26PM -0400, Nandish Rudra wrote: : I am writing about this error from yesterday. I used JProfiler

RE: FW: Memory Usage - Tomcat 5.0.25

2004-08-11 Thread Nandish Rudra
To: 'Tomcat Users List' Subject: RE: FW: Memory Usage - Tomcat 5.0.25 Hello QM, Thanks for your reply, it really cleared some things. First, tomcat has two levels for memory - allocated vs. used. While allocated increases with every spike by some amout and stays there, the used memor fluctuates

Re: FW: Memory Usage - Tomcat 5.0.25

2004-08-11 Thread Joseph Shraibman
Nandish Rudra wrote: Hello Everyone, I am writing about this error from yesterday. I used JProfiler to monitor my memory usage. And am now sure that each and every static object is trashed when the application is undeployed and the profiler shows that memory is free and all instance

Memory Usage - Tomcat 5.0.25

2004-08-10 Thread Nandish Rudra
Hello Everyone, I am writing about this error from yesterday. I used JProfiler to monitor my memory usage. And am now sure that each and every static object is trashed when the application is undeployed and the profiler shows that memory is free and all instance of the objects are GC'd

FW: Memory Usage - Tomcat 5.0.25

2004-08-10 Thread Nandish Rudra
Hello Everyone, I am writing about this error from yesterday. I used JProfiler to monitor my memory usage. And am now sure that each and every static object is trashed when the application is undeployed and the profiler shows that memory is free and all instance of the objects are GC'd

Re: FW: Memory Usage - Tomcat 5.0.25

2004-08-10 Thread QM
On Tue, Aug 10, 2004 at 04:54:26PM -0400, Nandish Rudra wrote: : I am writing about this error from yesterday. I used JProfiler to monitor my : memory usage. And am now sure that each and every static object is trashed : when the application is undeployed and the profiler shows that memory

Memory Usage - Tomcat 5.0.25

2004-08-09 Thread Nandish Rudra
is my problem. When I undeploy/remove an application, Tomcat does not reclaim the memory being used by the web application and when the application is re-deployed/re-installed a significant increase in memory is seen. This increase is obviously the memory usage by the new instance of the web application

Memory Usage - Tomcat 5.0.25

2004-08-09 Thread Nandish Rudra
is my problem. When I undeploy/remove an application, Tomcat does not reclaim the memory being used by the web application and when the application is re-deployed/re-installed a significant increase in memory is seen. This increase is obviously the memory usage by the new instance of the web application

Memory Usage - Tomcat 5.0.25

2004-08-09 Thread Nandish Rudra
It took the message a while to showup on the list so resent it with some modification. please disregard the first message. The problem does happen on Windows. I was looking at the wrong process. NR - To unsubscribe, e-mail:

RE: Memory Usage - Tomcat 5.0.25

2004-08-09 Thread Shapira, Yoav
anyways so to count on this behavior is not smart. It is expected that every time you reload your webapp the overall memory usage of the server will go up a bit, as not all objects are gone (for example, if you have a static reference than the old classloader and anything that references it strongly

RE: Memory Usage - Tomcat 5.0.25

2004-08-09 Thread Nandish Rudra
by the webapp is reclaimed, but in my case absolutely no memory is being reclaimed. For example, say, i start tomcat and it starts with 30M initial memory usage without the application. Now when i deploy the application the size jumps by 8M to 38M. As the app is undeploy and re-deploy the memory usage

How to conserve memory usage?

2004-05-06 Thread Arne Schirmacher
I have a web application which I want to deploy several times on one server, so that every customer has his own instance. How should I do this so that the memory footprint per deployment is minimized? A colleague suggested creating one .war file and referencing this file in several

RE: JVM Memory Usage

2004-03-15 Thread Shapira, Yoav
Hi, please let me know how can i control the JVM memory usage in tomcat Same as other java programs, using the java command-line options. See for example JAVA_OPTS in $CATALINA_HOME/bin/catalina.sh, or search this list's archives. Yoav Shapira This e-mail, including any attachments

Memory Usage

2004-03-15 Thread bort
Hi all We've setup Tomcat to use a max of 256Mb. I've been tracking memory usage using: Runtime r = Runtime.getRuntime(); System.out.println(M: +r.maxMemory()); System.out.println(T: +r.totalMemory()); System.out.println(A: +r.freeMemory()); System.runFinalization(); System.gc

RE: Memory Usage

2004-03-15 Thread Shapira, Yoav
Hi, We've setup Tomcat to use a max of 256Mb. I've been tracking memory usage using: System.runFinalization(); System.gc(); Be aware that the above two lines are misleading, as they are suggestions and not guaranteed to actually do anything. What I've noticed is that the the 'T' value

Re: Memory Usage

2004-03-15 Thread bort
on projected traffic)? bort Shapira, Yoav [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, We've setup Tomcat to use a max of 256Mb. I've been tracking memory usage using: System.runFinalization(); System.gc(); Be aware that the above two lines are misleading

RE: Memory Usage

2004-03-15 Thread Shapira, Yoav
system has enough, consider running with a profiler to see if there are leaks or other unnecessary memory usage patterns. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged

Re: Memory Usage

2004-03-15 Thread James Black
bort wrote: If System.runFinalization() and System.gc() are misleading... what should I use instead, to force to garbage collection? So, the amount of memory the JVM uses, will always increase? How do I get it to decrease? You can't get it to decrease, but if you have the memory large enough

RE: Memory Usage

2004-03-15 Thread Shapira, Yoav
Hi, JDK1.5.0beta seems to have an improved garbage collection tuning built Care to elaborate or provide a reference? Thanks, Yoav Shapira Millennium Research Informatics This e-mail, including any attachments, is a confidential business communication, and may contain information that is

Re: Memory Usage

2004-03-15 Thread James Black
Shapira, Yoav wrote: Hi, JDK1.5.0beta seems to have an improved garbage collection tuning built Care to elaborate or provide a reference? Thanks, http://java.sun.com/j2se/1.5.0/docs/relnotes/features.html#vm_selftune Based on my own experience, doing various performance related

RE: Memory Usage

2004-03-15 Thread Shapira, Yoav
Hi, Great, exactly what I wanted. Thanks, Yoav Shapira Millennium Research Informatics -Original Message- From: James Black [mailto:[EMAIL PROTECTED] Sent: Monday, March 15, 2004 2:21 PM To: Tomcat Users List Subject: Re: Memory Usage Shapira, Yoav wrote: Hi, JDK1.5.0beta seems

Re: Memory Usage

2004-03-15 Thread bort
Thank you for the information! James Black [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] bort wrote: If System.runFinalization() and System.gc() are misleading... what should I use instead, to force to garbage collection? So, the amount of memory the JVM uses, will always

Re: Memory Usage

2004-03-15 Thread bort
, increase available memory (-Xmx) and repeat. If you run out of memory but you're fairly sure your system has enough, consider running with a profiler to see if there are leaks or other unnecessary memory usage patterns. Yoav Shapira This e-mail, including any attachments, is a confidential

JVM Memory Usage

2004-03-13 Thread akki
Hi all, I m new to tomcat please let me know how can i control the JVM memory usage in tomcat where to edit.. thanks akki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Memory Usage/Common Lib

2004-03-10 Thread Lipov, Felix
I was wondering how the memory usage of Tomcat should compare in the following two cases: I have application a, b, c. Each application uses x.jar, y.jar and z.jar. Scenario 1: Each application is deployed with the three jars under their respective WEB-INF/lib directories. Scenario 2: Nothing

RE: Memory Usage/Common Lib

2004-03-10 Thread Shapira, Yoav
Hi, Scenario 1: Each application is deployed with the three jars under their respective WEB-INF/lib directories. Scenario 2: Nothing is placed in the respective WEB-INF/lib directories. Rather the three jars are placed in tomcat's common/lib directory. Would the memory usage of tomcat differ

RE: Memory Usage/Common Lib

2004-03-10 Thread Ralph Einfeldt
PROTECTED] Sent: Wednesday, March 10, 2004 2:55 PM To: Tomcat Users List Subject: Memory Usage/Common Lib I have application a, b, c. Each application uses x.jar, y.jar and z.jar. Scenario 1: Each application is deployed with the three jars under their respective WEB-INF/lib

Memory usage raises when reloading a context

2004-02-04 Thread Vitor Buitoni
Every time that i reload a context (through the tomcat manager) the memory usage of the tomcat grows up a bit, and it doesn't go down again. Every time the context is reloaded the memory usage raises, until the jvm begins to throw OutOfMemory errors. Then i have to restart tomcat (of course

RE: Memory usage raises when reloading a context

2004-02-04 Thread Shapira, Yoav
ChemInformatics -Original Message- From: Vitor Buitoni [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 04, 2004 6:58 AM To: Tomcat Users List Subject: Memory usage raises when reloading a context Every time that i reload a context (through the tomcat manager) the memory usage of the tomcat

Average memory usage under 5.0.16 (jsvc)

2004-02-03 Thread Andrew Davidoff
Hello All, I've searched the archives for this and while I've found related information I haven't seen anything definitive. I'm using jsvc to run Tomcat 5.0.16 as a daemon and after startup when it's doing nothing it's using between 120 and 160 megs of physical memory. This seems high to me.

tomcat memory usage

2003-12-30 Thread Andrei Ivanov
to be reloadable. My problem is that everytime the context is reloaded, top shows a memory usage increase with about 2Mb, until tomcat runs out of memory. What can I do ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

Re: tomcat memory usage

2003-12-30 Thread James Black
Andrei Ivanov wrote: I've created a context for my application and I used the manager to reload the context and now I've configured the context to be reloadable. First, start with using a profiler to ensure that your application isn't leaking memory. Look at

Re: tomcat memory usage

2003-12-30 Thread Andrei Ivanov
I've searched bugzilla, but there doesn't seem to be any bug filled about something like this. About using a profiler... could you recommend one ? Thanks.. On Tue, 30 Dec 2003, James Black wrote: Andrei Ivanov wrote: I've created a context for my application and I used the manager to

Re: tomcat memory usage

2003-12-30 Thread Riaan Oberholzer
About using a profiler... could you recommend one ? JProfiler JProbe __ Do you Yahoo!? Find out what made the Top Yahoo! Searches of 2003 http://search.yahoo.com/top2003 - To unsubscribe,

Re: tomcat memory usage

2003-12-30 Thread James Black
Andrei Ivanov wrote: I've searched bugzilla, but there doesn't seem to be any bug filled about something like this. About using a profiler... could you recommend one ? JProfiler I like, mainly because of the cost, but also because it integrates in well with Netbeans. g Look at

Re: tomcat memory usage

2003-12-30 Thread Andrei Ivanov
On Tue, 30 Dec 2003, James Black wrote: Andrei Ivanov wrote: I've searched bugzilla, but there doesn't seem to be any bug filled about something like this. About using a profiler... could you recommend one ? JProfiler I like, mainly because of the cost, but also because it

RE: tomcat memory usage

2003-12-30 Thread Shapira, Yoav
Howdy, Look at http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20758 and see if that is your problem. This may also help: http://www.junlu.com/msg/38658.html I clicked the above and surprisingly saw my own message ;) Anyways, note that bug 20758 is filed against tomcat 4.1.24. There's no

Memory Usage, Leakage and java.lang.OutofMemory

2003-09-17 Thread Mike Curwen
So let's say that I have a web app that is slowly but surely leaking. Eventually, I will get a java.lang.OutOfMemory error. With how Tomcat is internally architected, or with how the JVM operates, does this cause a problem for all other applications running under Tomcat? Is there now no more

RE: Memory Usage, Leakage and java.lang.OutofMemory

2003-09-17 Thread Shapira, Yoav
- From: Mike Curwen [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 17, 2003 11:17 AM To: [EMAIL PROTECTED] Subject: Memory Usage, Leakage and java.lang.OutofMemory So let's say that I have a web app that is slowly but surely leaking. Eventually, I will get a java.lang.OutOfMemory error. With how

RE: Memory Usage, Leakage and java.lang.OutofMemory

2003-09-17 Thread Ralph Einfeldt
] Sent: Wednesday, September 17, 2003 5:18 PM To: Tomcat Users List Subject: RE: Memory Usage, Leakage and java.lang.OutofMemory Once you get an OutOfMemoryError, your JVM is in an unpredictable state and must be restarted. This is not specific to tomcat. Reloading the webapp will not do

Re: Memory usage Tomcat 4.1.24

2003-09-04 Thread John Bell
The recently installed Tomcat 4.1.24 on startup takes about 60M of memory. Is it my configuration. I have not noticed previous versions consuming so much. I have 6 or so applications in webapps - mainly struts - documentaion, examples etc. Using j2sdk1.4.0. Regards

high memory usage ....

2003-08-20 Thread Mipam
Hi, I believe many other of you have encountered the high memory usage with tomcat? Is there a way to decrease the amount the java processes use? Furthermore, all the java processes are started under user root. Is there a way to start the java processes under another user? Any particular version

Re: high memory usage ....

2003-08-20 Thread Yann Cébron
I believe many other of you have encountered the high memory usage with tomcat? Is there a way to decrease the amount the java processes use? yes, take a close look at the Tomcat configuration reference (Connectors) Furthermore, all the java processes are started under user root

Re: high memory usage ....

2003-08-20 Thread rufio
on Wed, 20 Aug 2003 15:55:50 +0200 (MET DST) Mipam [EMAIL PROTECTED] wrote: Hi, [..] Furthermore, all the java processes are started under user root. Actually it's not up to java or tomcat. Is there a way to start the java processes under another user? su user -c path_to_executable or

RE: high memory usage ....

2003-08-20 Thread Shapira, Yoav
Howdy, Yann Cébron [mailto:[EMAIL PROTECTED], said: Regarding TC versions: always try to stay as up to date as possible - there are lot of continuos improvements regarding speed, stability, memory consumption and of cause fixed bugs. Additionally, TC5 has seen a lot of improvements regarding

Memory usage

2003-07-10 Thread Luc Foisy
Is there a quick and easy way to figure out the actual memory use of everything related to the tomcat server? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Memory usage

2003-07-10 Thread Angus Mezick
Checkout jvmstat on http://developers.sun.com/techtopics/emergingtech/ -Original Message- From: Luc Foisy [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2003 3:19 PM To: Tomcat User List (E-mail) Subject: Memory usage Is there a quick and easy way to figure out the actual

Re: Memory usage

2003-07-10 Thread Eric J. Pinnell
Hi, You could turn on verbose garbage collection and it will give you detailed info on the gc'ing. It will show you how much memory it is using... like a kinda before the collection and after the collection reading. This isn't something you want to run in production (for a long time at least).

RE: Memory usage

2003-07-10 Thread Matt Swensson
I use 'ps' to figure it out (are you using linux?) I do something like: ps aux | grep tomcat i grep tomcat because that is the user my tomcat runs as... you could also use 'top' __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com

Re: Memory Usage and Garbage Collection

2003-01-15 Thread Will Hartung
this was helpful, Regards, Will Hartung ([EMAIL PROTECTED]) - Original Message - From: Turoff, Steve [EMAIL PROTECTED] To: Will Hartung [EMAIL PROTECTED] Sent: Tuesday, January 14, 2003 10:07 AM Subject: RE: Memory Usage and Garbage Collection Will, I too am experiencing memory

RE: Memory Usage and Garbage Collection

2003-01-10 Thread Turoff, Steve
much for your help. Steve -Original Message- From: Will Hartung [mailto:[EMAIL PROTECTED]] Sent: Friday, January 03, 2003 4:54 PM To: Tomcat Users List Subject: Re: Memory Usage and Garbage Collection From: Brandon Cruz [EMAIL PROTECTED] Sent: Friday, January 03, 2003 2:23 PM

[LAXMIAKNTH] - MEMORY USAGE

2003-01-07 Thread Laxmikanth M.S.
Hi all, I have installed jdk1.3/apache1.3.27/tomcat4.1.12 in RH Linux 7.1.. If I see the process most of the memory more than 80% is occupied by jdk1.3 and so the system is slow and sites which are running there is slowwhat may be the reason thanks in advance Regards Laxmikanth M S Off :

RE: [LAXMIAKNTH] - MEMORY USAGE

2003-01-07 Thread Venkat Reddy Valluri
:[LAXMIAKNTH] - MEMORY USAGE Hi all, I have installed jdk1.3/apache1.3.27/tomcat4.1.12 in RH Linux 7.1.. If I see the process most of the memory more than 80% is occupied by jdk1.3 and so the system is slow and sites which are running there is slowwhat may be the reason thanks in advance Regards

RE: Memory Usage and Garbage Collection

2003-01-05 Thread Saurabh Arora
the outofmemory error. saurabh [EMAIL PROTECTED] 01/04/03 01:12AM On Fri, 3 Jan 2003, Saurabh Arora wrote: Date: Fri, 03 Jan 2003 02:33:17 -0700 From: Saurabh Arora [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: Memory Usage and Garbage

Re: Memory Usage and Garbage Collection

2003-01-05 Thread Nikola Milutinovic
So the instance, and it's string, can still be GC'd, right? Nope. There is still a live reference to each OtherObject instance sitting in the static HashMap cache. Therefore, this instance cannot be GC'd, even though *you* have released your own reference to it. And, if the OtherObject class

RE: Memory Usage and Garbage Collection

2003-01-03 Thread Andreas Probst
Hi Craig, please see intermixed. On 2 Jan 2003 at 18:18, Craig R. McClanahan wrote: Instances can be garbage collected IF AND ONLY IF there are no live references to that object in a static/instance/local variable of some other object that is also in memory. Only instances that are no

RE: Memory Usage and Garbage Collection

2003-01-03 Thread Saurabh Arora
Just wanted to know, does the current implementation of tomcat 4.1.18 also has the same problem of keeping the jsp's in memory. or it was only present in 4.0.4 saurabh [EMAIL PROTECTED] 01/03/03 02:26PM Hi Craig, please see intermixed. On 2 Jan 2003 at 18:18, Craig R. McClanahan wrote:

RE: Memory Usage and Garbage Collection

2003-01-03 Thread Shapira, Yoav
Hi, There's clearly some misconceptions on the topic of garbage collection ;) These questions come up very often it seems, on this list and others. Please consider the following service() or doGet() or so of a servlet: public void service(ServletRequest request, ServletResponse response)

RE: Memory Usage and Garbage Collection

2003-01-03 Thread Andreas Probst
Hi thank you, your reply calms me down again. I guess I got a bit confused by the preceding discussion. Andreas On 3 Jan 2003 at 8:59, Shapira, Yoav wrote: Hi, There's clearly some misconceptions on the topic of garbage collection ;) These questions come up very often it seems, on this

RE: Memory Usage and Garbage Collection

2003-01-03 Thread Craig R. McClanahan
On Fri, 3 Jan 2003, Andreas Probst wrote: Hi Craig, please see intermixed. On 2 Jan 2003 at 18:18, Craig R. McClanahan wrote: Instances can be garbage collected IF AND ONLY IF there are no live references to that object in a static/instance/local variable of some other object that

RE: Memory Usage and Garbage Collection

2003-01-03 Thread Craig R. McClanahan
On Fri, 3 Jan 2003, Saurabh Arora wrote: Date: Fri, 03 Jan 2003 02:33:17 -0700 From: Saurabh Arora [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: Memory Usage and Garbage Collection Just wanted to know, does the current implementation

RE: Memory Usage and Garbage Collection

2003-01-03 Thread Andreas Probst
Hi Craig, thank you very much for this complete explanation. That's perfectly understandable and the GC-behaviour which I had expected before. I must have understood something wrong in this thread's discussion, which went on yesterday. Again, thank you very much for your helpful responses

RE: Memory Usage and Garbage Collection

2003-01-03 Thread Brandon Cruz
created will take up all the available RAM. Is this correct? Brandon -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Friday, January 03, 2003 1:43 PM To: Tomcat Users List Subject: RE: Memory Usage and Garbage Collection On Fri, 3 Jan 2003, Saurabh

Re: Memory Usage and Garbage Collection

2003-01-03 Thread Will Hartung
From: Brandon Cruz [EMAIL PROTECTED] Sent: Friday, January 03, 2003 2:23 PM Subject: RE: Memory Usage and Garbage Collection 1)For every single request to a servlet or JSP page, a new instance of that class is created? For example, if there is one JSP page and ten people access that one

RE: Memory Usage and Garbage Collection

2003-01-03 Thread Craig R. McClanahan
On Fri, 3 Jan 2003, Brandon Cruz wrote: Date: Fri, 3 Jan 2003 16:23:24 -0600 From: Brandon Cruz [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED], [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: Memory Usage and Garbage Collection Craig, From

Re: Memory Usage and Garbage Collection

2003-01-03 Thread Hanasaki JiJi
: Fri, 3 Jan 2003 16:23:24 -0600 From: Brandon Cruz [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED], [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: RE: Memory Usage and Garbage Collection Craig, From what you have been saying... 1)For every single request

RE: Memory Usage and Garbage Collection

2003-01-03 Thread Noel J. Bergman
Instead, you'd want to use a single JSP page for each basic *style* of output (essentially the JSP page would be a formatting template) that pulls in the unique information for a particular report (from the database, from XML, or whatever) dynamically. For example, with the web site for The

RE: Memory Usage and Garbage Collection

2003-01-03 Thread Noel J. Bergman
There is still a live reference to each OtherObject instance sitting in the static HashMap cache. there is no way to ***ever*** GC this instance Another example of a similar memory leak is the File.deleteOnExit method. It should not be used without extreme care and understanding in a server

top command shows memory usage of java process is two times more than what actually java heap is taking

2003-01-02 Thread Venkat Reddy Valluri
Hi, When I run top command on linux, it is showing memory usage of java process is two times more than what java heap is taking, I got java heap size inside java program using Runtime.getRuntime().totalMemory() - Runtime.getRuntime().freeMemory(); I didn't understand why it is showing

Memory Usage and Garbage Collection

2003-01-02 Thread Brandon Cruz
enough memory to support that without having to use swap space. The problem occurs when the memory usage number before the - gets up to about 130. The system is using swap space and eventually out of memory errors start showing up. Any ideas? More Ram, more tuning, different site architecture

Re: Memory Usage and Garbage Collection

2003-01-02 Thread Craig R. McClanahan
On Thu, 2 Jan 2003, Brandon Cruz wrote: Date: Thu, 2 Jan 2003 16:16:23 -0600 From: Brandon Cruz [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED], [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Memory Usage and Garbage Collection Do loaded jsp

RE: Memory Usage and Garbage Collection

2003-01-02 Thread Brandon Cruz
List; [EMAIL PROTECTED] Subject: Re: Memory Usage and Garbage Collection On Thu, 2 Jan 2003, Brandon Cruz wrote: Date: Thu, 2 Jan 2003 16:16:23 -0600 From: Brandon Cruz [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED], [EMAIL PROTECTED] To: Tomcat Users List [EMAIL

Re: Memory Usage and Garbage Collection

2003-01-02 Thread Julian Löffelhardt
: Friday, January 03, 2003 1:12 AM Subject: Re: Memory Usage and Garbage Collection On Thu, 2 Jan 2003, Brandon Cruz wrote: Date: Thu, 2 Jan 2003 16:16:23 -0600 From: Brandon Cruz [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED], [EMAIL PROTECTED] To: Tomcat Users List

RE: Memory Usage and Garbage Collection

2003-01-02 Thread Craig R. McClanahan
On Thu, 2 Jan 2003, Brandon Cruz wrote: Date: Thu, 2 Jan 2003 19:04:55 -0600 From: Brandon Cruz [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: Memory Usage and Garbage Collection Craig, Thanks for your comments, I still have a few

Re: Memory Usage and Garbage Collection

2003-01-02 Thread Craig R. McClanahan
On Fri, 3 Jan 2003, Julian Löffelhardt wrote: Date: Fri, 3 Jan 2003 02:01:58 +0100 From: Julian Löffelhardt [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Memory Usage and Garbage Collection Looking at the jasper

Tomcat 4.1.12 Memory Usage

2002-12-12 Thread Laxmikanth M.S.
Hi all, Earlier I installed tomcat3.3.1 with apache1.3.27 ...the performance of the machine was better... Now I have installed Tomcat4.1.12 with apache1.3.27 the system Memory usage is full and almost it hangsis this the problem with tomcat4.1.12...do i need to do some extra setting to improve

Memory usage?

2002-12-03 Thread Schnitzer, Jeff
This is probably a more general java question: My long-running Tomcat processes become huge. I have the max heap set to -Xmx512m, yet after a day or so the virtual size of java reaches upwards of 2GB, and the resident size sometimes exceeds 1GB. Shouldn't I get OutOfMemoryErrors sooner? If

RE: Memory usage?

2002-12-03 Thread mike.roberts
, or is otherwise legally binding on elata unless confirmed by an authorised representative independently of this e-mail. Registered in England, number 1961405 -Original Message- From: Schnitzer, Jeff [mailto:[EMAIL PROTECTED]] Sent: 04 December 2002 12:59 To: [EMAIL PROTECTED] Subject: Memory usage

RE: Memory usage?

2002-12-03 Thread Schnitzer, Jeff
: RE: Memory usage? you using JDBC? Head of Operations AsiaPac elata Level 30 6 Battery Road Singapore 049909 Office : +65 65509723 Mobile : +65 91117814 Fax: +65 65509725 [EMAIL PROTECTED] http://www.elata.com This e-mail is intended solely for the above mentioned recipient(s

RE: Displaying servlets and its memory usage

2002-11-25 Thread Shapira, Yoav
Hi, OptimizeIt 5.0, the newest, claims to be able to display this sort of thing, if your servlets are each a different class, which is normally the case. But keep in mind all you'll see, with any of today's tools that I know of, is the memory usage of the servlet instance itself, not including

FW: Displaying servlets and its memory usage

2002-11-24 Thread Sriraman.R
Any clues/pointers to get this info! -Sriram -Original Message- From: Sriraman.R [mailto:[EMAIL PROTECTED]] Sent: Friday, November 22, 2002 7:18 PM To: Tomcat Users List Subject: Displaying servlets and its memory usage hi all, I have tomcat 3.2.4 and few servlets running. I

Re: Displaying servlets and its memory usage

2002-11-24 Thread Bill Barker
ember 22, 2002 7:18 PM To: Tomcat Users List Subject: Displaying servlets and its memory usage hi all, I have tomcat 3.2.4 and few servlets running. I want to see the memory usage of each serlvet running. However I get memory hogging often. I would like to find which servlet is causing this

Displaying servlets and its memory usage

2002-11-22 Thread Sriraman.R
hi all, I have tomcat 3.2.4 and few servlets running. I want to see the memory usage of each serlvet running. However I get memory hogging often. I would like to find which servlet is causing this problem. Is there a tool/java program to dump each servlet and its memory usage

Re: Tomcat memory usage

2002-10-24 Thread dhay
. thanks, David [EMAIL PROTECTED] on 10/24/2002 03:47:45 PM Please respond to Tomcat Users List [EMAIL PROTECTED] To:Tomcat Users List [EMAIL PROTECTED] cc: Subject:Tomcat memory usage Hi. Would anyone be able to explain some details about Tomcat memory usage when it is being

  1   2   >