there.
Also, I noticed that the SB internal memory usage is about 2x the
size of the actual contents. Is that because each char is stored as
2 bytes for Unicode? (Not the char array to string conversion, which
is different.)
You'd have to look more closely at the circumstances. I was abou
byte array and 264MB for the
cb> returned String, about 790MB total for that piece of the pie.
cb> Contents were simply the JSON query results returned to the client.
cb> No mystery there.
Also, I noticed that the SB internal memory usage is about 2x the size of the
actual contents. Is th
Cris,
On 6/1/21 09:17, Berneburg, Cris J. - US wrote:
Hi Chris
[lots of snippage]
cb> One of our web apps is using a "lot" of memory, specifically a big
cb> user query. We'd like to find out why.
cb> 1. Is there a way to analyze uncollected garbage?
cb> * AWS EC2 instance.
cb> * There are oth
Hi Chris
[lots of snippage]
cb> One of our web apps is using a "lot" of memory, specifically a big
cb> user query. We'd like to find out why.
cb> 1. Is there a way to analyze uncollected garbage?
cb> * AWS EC2 instance.
cb> * There are other TC instances on the same server.
cb> * Each TC instanc
Hi Raghunath
cb> One of our web apps is using a "lot" of memory,
cb> specifically a big user query. We'd like to find out why.
cb> 1. Is there a way to analyze uncollected garbage?
rm> You could try using the Oracle utility - "jstat" - for analyzing
rm> the GC in an active Java process (PID)
rm
Hi John :-)
cb> 1. Is there a way to analyze uncollected garbage?
cb> 2. Is that a reasonable way to identify potential memory usage problems?
jeg> MAT has an option to "Keep unreachable options." It's under preferences.
Thanks for the suggestion! I did not know abo
Hi Amit :-)
cb> 1. Is there a way to analyze uncollected garbage?
cb> 2. Is that a reasonable way to identify potential memory usage problems?
ap> Have you enabled the " Enable 'keep unreachable objects'" setting of MAT?
ap> https://blog.gceasy.io/2015/12/11/ecl
ools/unix/jstat.html
-Original Message-
From: Berneburg, Cris J. - US
Sent: Thursday, May 27, 2021 1:24 PM
To: users@tomcat.apache.org
Subject: [OT] web app big memory usage?
Hi Folks :-)
One of our web apps is using a "lot" of memory, specifically a big user query.
We'd li
, to determine
wastefulness.
1. Is there a way to analyze uncollected garbage?
2. Is that a reasonable way to identify potential memory usage
problems?
Some technical specifics: * TC 8.5.63 * Java 1.8.0_291 * AWS EC2
instance. * Windows Server 2016. * Instance started as Windows
Service. * There
Cris,
> -Original Message-
> From: Berneburg, Cris J. - US
> Sent: Thursday, May 27, 2021 2:24 PM
> To: users@tomcat.apache.org
> Subject: [OT] web app big memory usage?
>
> Hi Folks :-)
>
> One of our web apps is using a "lot" of memory, specific
ject: [EXTERNAL] [OT] web app big memory usage?
Hi Folks :-)
One of our web apps is using a "lot" of memory, specifically a big user query.
We'd like to find out why.
The Tomcat Web Application Manager Find leaks button said that "No web
applications appear to have tr
analyze uncollected garbage?
2. Is that a reasonable way to identify potential memory usage problems?
Some technical specifics:
* TC 8.5.63
* Java 1.8.0_291
* AWS EC2 instance.
* Windows Server 2016.
* Instance started as Windows Service.
* There are other TC instances on the same server.
* Each TC
On 24/04/2019 21:46, Simon Funnell wrote:
> Hi,
>
> I am looking at running a small ecommerce site with about 40-80 users at a
> time on a virtual private server with 4 cores and 1GB of memory, I am
> planning on running apache james, mysql and tomcat on this instance. My
> question is will 256MB
Hi,
I am looking at running a small ecommerce site with about 40-80 users at a
time on a virtual private server with 4 cores and 1GB of memory, I am
planning on running apache james, mysql and tomcat on this instance. My
question is will 256MB maximum heap memory with say 50 threads be enough to
h
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
Nagendra,
On 4/14/17 4:36 AM, nagendra.r...@wipro.com wrote:
> Problem statement: Memory usage increased form 500MB to 4 GB after
changing the tomcat process from 32 bit to 64 bit execution
Any other changes? For example, changes to the h
On 14.04.2017 10:36, nagendra.r...@wipro.com wrote:
Hi All,
Problem statement: Memory usage increased form 500MB to 4 GB after changing the
tomcat process from 32 bit to 64 bit execution
As tomcat memory has increased it is impacting available memory for other
applications on server
o Is
Hi All,
Problem statement: Memory usage increased form 500MB to 4 GB after changing the
tomcat process from 32 bit to 64 bit execution
As tomcat memory has increased it is impacting available memory for other
applications on server
o Is this a bug ?
o Earlier with 32bit it was running
Hi all,
I don't know if this is useful but apart from utilities/commands already
mentioned, I use the following to monitor the GC of the particular
generations in JVM:
/usr/jdk/jdk1.5.0_12/bin/jstat -gc $TOMCAT_PID 5000 10
Of course you need to substitute the appropriate JDK installed on your
sy
On Fri, 27 May 2011 09:50:06 +0200, André Warnier wrote:
Searching the WWW, I am finding (too) many interpretations of the
output of "-verbose:gc" (or "-verbosegc", none of them starting from
exactly the format above.
I can kind of guess what the above means, but where can I find an
"authoritati
Pid wrote:
On 26/05/2011 21:50, André Warnier wrote:
André Warnier wrote:
Pid wrote:
On 26/05/2011 20:16, Caldarale, Charles R wrote:
From: André Warnier [mailto:a...@ice-sa.com] Subject: Monitoring
memory usage of JVM
I am thinking of a couple of command-line options for the JVM,
to dump
On 26/05/2011 21:50, André Warnier wrote:
> André Warnier wrote:
>> Pid wrote:
>>> On 26/05/2011 20:16, Caldarale, Charles R wrote:
>>>>> From: André Warnier [mailto:a...@ice-sa.com] Subject: Monitoring
>>>>> memory usage of JVM
>>>>>
André Warnier wrote:
Pid wrote:
On 26/05/2011 20:16, Caldarale, Charles R wrote:
From: André Warnier [mailto:a...@ice-sa.com] Subject: Monitoring
memory usage of JVM
I am thinking of a couple of command-line options for the JVM,
to dump for example some information each time a GC happens
Pid wrote:
On 26/05/2011 20:16, Caldarale, Charles R wrote:
From: André Warnier [mailto:a...@ice-sa.com]
Subject: Monitoring memory usage of JVM
I am thinking of a couple of command-line options for the JVM,
to dump for example some information each time a GC happens,
Try -verbose:gc and
On 26/05/2011 20:16, Caldarale, Charles R wrote:
>> From: André Warnier [mailto:a...@ice-sa.com]
>> Subject: Monitoring memory usage of JVM
>
>> I am thinking of a couple of command-line options for the JVM,
>> to dump for example some information each time a GC happen
> From: André Warnier [mailto:a...@ice-sa.com]
> Subject: Monitoring memory usage of JVM
> I am thinking of a couple of command-line options for the JVM,
> to dump for example some information each time a GC happens,
Try -verbose:gc and -Xloggc:
- Chuck
THIS COMMUNICATION
file.
We would like to monitor the memory usage of that JVM, but in a way that in itself does
not impact the performance too much. Basically what we want, is to keep some information
in a logfile, which in case of serious problem with memory would allow us to get a clue as
to what is happening via
Nope, but I'm not an expert with these (at all).
I use something pretty similar, the only real difference is that I
haven't turned on the CMSIncrementalMode. My apps haven't shown an
issue with long pause times, so I haven't researched/tested it yet.
Dan
On Tue, Feb 2, 2010 at 1:55 PM, Carl wr
/logs"
Do you see anything dangerous/wrong/not good?
Thanks,
Carl
- Original Message -
From: "Dan Armbrust"
To: "Tomcat Users List" ;
Sent: Tuesday, February 02, 2010 2:07 PM
Subject: Re: tomcat memory usage
FYI - look out for this WRT MaxNewSize and
FYI - look out for this WRT MaxNewSize and NewRatio:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6862534
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apac
On 29/01/2010 15:27, Caldarale, Charles R wrote:
From: Pid [mailto:p...@pidster.com]
Subject: Re: tomcat memory usage
So the MaxNewSize, despite often being seen at high values in
jmap outputs, is actually only applicable if the 'mx' allows it?
Correct. Do you have an example of an
> From: Pid [mailto:p...@pidster.com]
> Subject: Re: tomcat memory usage
>
> So the MaxNewSize, despite often being seen at high values in
> jmap outputs, is actually only applicable if the 'mx' allows it?
Correct. Do you have an example of an erroneous MaxNewSize di
On 29/01/2010 15:13, Caldarale, Charles R wrote:
From: Pid [mailto:p...@pidster.com]
Subject: Re: tomcat memory usage
The overall size of the heap is controlled by 3 different groups of
settings, not just the one you referred to:
-Xms512M -Xmx512M
-XX:NewSize=32m
> From: Pid [mailto:p...@pidster.com]
> Subject: Re: tomcat memory usage
> The overall size of the heap is controlled by 3 different groups of
> settings, not just the one you referred to:
> -Xms512M -Xmx512M
> -XX:NewSize=32m -XX:MaxNewSize=4096m
&g
> From: Hüsnü Þentürk [mailto:husnusent...@yahoo.com]
> Subject: Re: tomcat memory usage
>
> Is following classifications true for memory usage of Java ?
Pretty much, but you're missing ancillary bits such as libraries, OS-created
structures, statically linked code, dynamical
On 29/01/2010 14:11, Hüsnü Þentürk wrote:
Chuck and Chris,
Thanks for yor explanations,
Let me, try to summarize what I understand adding some extra info and ask my
questions.
Is following classifications true for memory usage of Java ? If not please
correct it.
A. Java memory usage when
Chuck and Chris,
Thanks for yor explanations,
Let me, try to summarize what I understand adding some extra info and ask my
questions.
Is following classifications true for memory usage of Java ? If not please
correct it.
A. Java memory usage when application is started as a windows service
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: tomcat memory usage
>
> What else goes into PermGen, other than java.lang.Class objects?
It varies by JVM level. In the original HotSpot implementation it was pretty
much just the instances of java.lan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 1/27/2010 2:50 PM, Caldarale, Charles R wrote:
>> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
>> Subject: Re: tomcat memory usage
>>
>> The compiler knows that the "staticObject" memb
> From: Steffen Heil [mailto:li...@steffen-heil.de]
> Subject: AW: tomcat memory usage
>
> I am not sure, where the Class objects themselfes reside.
They are in PermGen along with a very few other internally-generated structures.
> Whereever they are, static references are in t
Hi
> So, static members are stored outside the heap? Where are they stored?
> PermGen?
For sure, no.
ALL persistent java objects are on the heap. With optimization some very short
living objects may reside on the stack only.
References to static objects ARE probably stored in PermGen, but the
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: tomcat memory usage
>
> The compiler knows that the "staticObject" member is static, and might
> even be able to tell the runtime that the object to be used for that
> static member sho
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 1/27/2010 1:50 PM, Caldarale, Charles R wrote:
>> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
>> Subject: Re: tomcat memory usage
>>
>> So, static members are stored outside the heap? Where are
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: tomcat memory usage
>
> So, static members are stored outside the heap? Where are they stored?
> PermGen?
They're definitely not in the main Java heap; I'm pretty sure they're in
Perm
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Chuck,
On 1/27/2010 11:28 AM, Caldarale, Charles R wrote:
>> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
>> Subject: Re: tomcat memory usage
>>
>> All Java objects and their associated data are st
> From: Christopher Schultz [mailto:ch...@christopherschultz.net]
> Subject: Re: tomcat memory usage
>
> All Java objects and their associated data are stored
> within the heap.
Well... no. The OP's original question was about what was outside the -Xmx
heap setting, and C
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hüsnü,
On 1/27/2010 2:06 AM, Hüsnü Þentürk wrote:
> As far as I know, heap memory is used by objects. On the other hand,
> our application has static variables and references to the objects
> residing in heap area. Does it mean, static variables and r
512MB reserved
heap area used only by Java itself?
From: Peter Crowther
To: Tomcat Users List
Sent: Tue, January 26, 2010 5:43:22 PM
Subject: Re: tomcat memory usage
2010/1/26 Hüsnü Þentürk
> Hi,
> In our company, we are using apache tomcat as a w
loaded DLLs.
You have no direct way of controlling the size of any of these. If you want
to reduce Java's memory usage, you can reduce its heap space after
monitoring what the process' overheads are.
- Peter
On 26/01/2010 15:12, Hüsnü Þentürk wrote:
Hi,
In our company, we are using apache tomcat as a windows service. We defined jvm
parameters "--JvmMs 512 --JvmMx 512" in service.bat. But application is using
600,980 KB memory. I expect the application not to use more then 512 MB.
Can you explain m
Hi,
In our company, we are using apache tomcat as a windows service. We defined jvm
parameters "--JvmMs 512 --JvmMx 512" in service.bat. But application is using
600,980 KB memory. I expect the application not to use more then 512 MB.
Can you explain me, the reason of this stuation.
Informatio
Very well,
I just tried to inspire someone on how to 'pump up memory usage'. It wasn't
about the details.
In fact: one line of code doesn't compile without a class and method
declaration. So you could have mailed me a java-for-beginners manual. :-)
Cheers,
Ronald.
Op w
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Ronald,
On 8/19/2009 5:32 AM, Ronald Klop wrote:
> byte[] b = new byte[100];
Java limits arrays to 2147483648 elements, so the above shouldn't even
compile (and it doesn't for me).
Section 2.15.4 of the JLS says:
"
A component of an array i
byte[] b = new byte[100];
Op woensdag, 19 augustus 2009 10:51 schreef "Thomas G. Lau"
:
Dear Tomcat Users,
how could I pump up memory usage on tomcat? we want to test if tomcat having
any problem when changed environment from 32 bit 2GB limitation to 64bit large
Dear Tomcat Users,
how could I pump up memory usage on tomcat? we want to test if tomcat
having any problem when changed environment from 32 bit 2GB limitation
to 64bit larger memory limitation mode. Thanks.
-
To
Jacob Rhoden wrote:
> I am working on creating some more scalable tomcat applications. I have
> addedd a SessionListener and it seems that hitting a jsp page triggers a
> session to be created.
>
> If there are 1000 users and only 10 are signed in, I dont think 1000
> sessions need to be created
Hi Guys,
I am working on creating some more scalable tomcat applications. I have
addedd a SessionListener and it seems that hitting a jsp page triggers a
session to be created.
If there are 1000 users and only 10 are signed in, I dont think 1000
sessions need to be created yes. How do I turn off
Hi
java on UNIX by default starts in 32 bit mode
to run java in 64 bit mode , java -d64 is specified
so for TOMCAT on catalina.sh
HOW TO for JAVA_HOME in 64 bit ?
with regards
Karthik
Mark Thomas wrote:
karthikn wrote:
Hi
Please need this Information
Memory Usage Differ
karthikn wrote:
Hi
Please need this Information
Memory Usage Differ for same TOMCAT5.5.23 on 32 / 64 bit Java Version ?
None.
Mark
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL
Hi
Please need this Information
Memory Usage Differ for same TOMCAT5.5.23 on 32 / 64 bit Java Version ?
with regards
Karthik
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL
> From: Billy Ng [mailto:[EMAIL PROTECTED]
> Subject: Re: Memory usage in Tomcat 6
>
> Changing the -Xmsm and -Xmxm in the tomcatw.exe
That's tomcat6w.exe, not tomcatw.exe.
> If you still have problem, there must be some huge
> objects created from time to time.
It ca
,
there must be some huge objects created from time to time. You need to use
tool like figure it out.
Billy Ng
- Original Message -
From: "Tuan Quan" <[EMAIL PROTECTED]>
To:
Sent: Monday, June 16, 2008 9:11 AM
Subject: Memory usage in Tomcat 6
Hi all, how do
> From: Tuan Quan [mailto:[EMAIL PROTECTED]
> Subject: Memory usage in Tomcat 6
>
> Hi all, how do I adjust Memory allocation Tomcat 6, running
> as service in Windows?
Use the tomcat6w.exe program in Tomcat's bin directory.
Read the FAQ for memory usage information:
ht
Hi all, how do I adjust Memory allocation Tomcat 6, running as service in
Windows? I ran into "out of memory" error.
thanks.
gt; To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/Tomcat-5.0.28-memory-usage---garbage-collection-tp17800619p17826655.h
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
tootbatoot,
tootbatoot wrote:
| Hi Thanks. the two applications run on their own and don't share jvm
so I can
| use different versions - but the webapp I have deployed in tomcat server
| requires it to be either on 5.0.28 or 5.5.17 (but using j2sdk1.
unning in the same JVM, there
> should be no reason that different JVM versions cannot be used. The
> 3rd-party can use whatever they want (1.4?) while you run a newer version.
>
> | From your posts - I understand that the memory usage might show going
> up all
> | the time - and
? If they are not running in the same JVM, there
should be no reason that different JVM versions cannot be used. The
3rd-party can use whatever they want (1.4?) while you run a newer version.
| From your posts - I understand that the memory usage might show going
up all
| the time - and it will
thanks.
The reason we have to stick to using this version is that it is recommended
by another application that tomcat is acting as a client to.
>From your posts - I understand that the memory usage might show going up all
the time - and it will still be ok because it is showing the heap s
> From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
> Subject: RE: Tomcat 5.0.28 memory usage - garbage collection
>
> I'd strongly recommend upgrading to a newer JVM. 1.6
> especially is noticeably faster than 1.4 and includes better
> heap management. You should upgr
> From: tootbatoot [mailto:[EMAIL PROTECTED]
> Subject: RE: Tomcat 5.0.28 memory usage - garbage collection
>
> jdk1.4.2_12
I'd strongly recommend upgrading to a newer JVM. 1.6 especially is noticeably
faster than 1.4 and includes better heap management. You should upgrade Tom
ootbatoot [mailto:[EMAIL PROTECTED]
>> Subject: Tomcat 5.0.28 memory usage - garbage collection
>>
>> When I put load on it via my webapp - I can see the memory
>> allocated to the process going up (in task manager) but
>> when I kill the session of the webapp (i.e. re
> From: tootbatoot [mailto:[EMAIL PROTECTED]
> Subject: Tomcat 5.0.28 memory usage - garbage collection
>
> When I put load on it via my webapp - I can see the memory
> allocated to the process going up (in task manager) but
> when I kill the session of the webapp (i.e. remove t
process release memory when there is no load ?
thanks
--
View this message in context:
http://www.nabble.com/Tomcat-5.0.28-memory-usage---garbage-collection-tp17800619p17800619.html
Sent from the Tomcat - User mailing list archive at Nabble.com
Christopher Schultz wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Liang,
Liang Xiao Zhu wrote:
| I would like to know if there is some way which I can monitoring of the
| memory usage through of Tomcat. I mean, I have currently running a
| Tomcat 6 server, and through that I want to
Thanks for your answer!!!
Christopher Schultz escribió:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Liang,
Liang Xiao Zhu wrote:
| I would like to know if there is some way which I can monitoring of the
| memory usage through of Tomcat. I mean, I have currently running a
| Tomcat 6 server
Can anyone help me?
Liang Xiao Zhu escribió:
Hi,
I would like to know if there is some way which I can monitoring of
the memory usage through of Tomcat. I mean, I have currently running a
Tomcat 6 server, and through that I want to know not only the memory
usage of JVM also the memory usage
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
André,
André Warnier wrote:
| Is there some kind of general source of information, or registry or
| repository, where one could find [...] a list of already-developed
add-on modules for Tomcat?
Not really. Most of the Tomcat-specific stuff actually
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Liang,
Liang Xiao Zhu wrote:
| I would like to know if there is some way which I can monitoring of the
| memory usage through of Tomcat. I mean, I have currently running a
| Tomcat 6 server, and through that I want to know not only the memory
Liang Xiao Zhu wrote:
Hi,
I would like to know if there is some way which I can monitoring of the
memory usage through of Tomcat. I mean, I have currently running a
Tomcat 6 server, and through that I want to know not only the memory
usage of JVM also the memory usage of the system.
Thanks in
Hi,
I would like to know if there is some way which I can monitoring of the
memory usage through of Tomcat. I mean, I have currently running a
Tomcat 6 server, and through that I want to know not only the memory
usage of JVM also the memory usage of the system.
Thanks in advance
> From: Chris Richmond [mailto:[EMAIL PROTECTED]
> Subject: Setting Tomcat memory usage
>
> set JAVA_OPTS = -Xms512m -Xmx512m
Take out the spaces around the equals sign. Windows interprets the
above as a setting for "JAVA_OPTS " (note the trailing space) rather
than &quo
y tomcat webservice.
>From reading the Tomcat Docs/ FAQ, and Googling I think that I am setting
what I need to set(Catalina.bat), but it seems to have no effect.
What resource am I not taking advantage of with this information, or what am
I missing to set the max memory usage in the JVM whe
> From: Alexander Diedler [mailto:[EMAIL PROTECTED]
> Subject: Adjust max memory usage in Tomcat
>
> How Can I adjust the maximum memory usage for Tomcat process?
1) Learn how to use Java.
2) Read the Tomcat FAQ.
http://wiki.apache.org/tomcat/FAQ/Memory
3) Search the ar
Hello,
How Can I adjust the maximum memory usage for Tomcat process?
Greetings
Alexander Diedler
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Subject: memory usage of specific webapp with jmx
>
> I hope that I can also see the size of the web application
> without writing Java code.
Nope, and probably not even by writing Java code.
> I think so because web appli
Hi,
Can I see the memory usage of the web application deployed in Tomcat with JMX.
By now I can connect to Tomcat with jconsole and see the summary memory size.
I hope that I can also see the size of the web application without
writing Java code.
I think so because web application classes are
> From: David Delbecq [mailto:[EMAIL PROTECTED]
> Subject: Re: memory usage increases on application stop
>
> Note that the PermSize is taken from the heap,
> so it should be lower than max heap size.
Not true in a HotSpot JVM; the heap and PermGen settings are
independent. Th
679M (virtual
memory)
So stopping the application increases the virtual memory usage from 367 to
679 m and stays there!
The increase is probably due to specific code your application executes
when it is stopped. It seems to do memory intesive things there :) You
have to be aware a JVM memory nev
> From: Jordi Prats [mailto:[EMAIL PROTECTED]
> Subject: memory usage
>
> There's any way to identify witch application and witch class
> is getting to many memory?
Read the FAQ:
http://wiki.apache.org/tomcat/FAQ/Memory
> How can I get some statistics about tomcat
tify witch application and witch class is getting
to many memory? I think that some application creates a immense array by
never delete any data.
How can I get some statistics about tomcat's memory usage?
Many thanks!
Jordi
-
s the virtual memory usage from 367 to
679 m and stays there!
Undeploying a stopped application doesn't change the numbers.
Why does stopping (or undeploying) a webapplication cause a dramatic
increase in memory usage?
My guesses:
- Some ressources are not freed? (database connections)
- Some
> From: Christoph Sperle [mailto:[EMAIL PROTECTED]
> Subject: RE: Memory usage problem
>
> Do you have a hint to restrict/reduce the overall process
> memory tomcat uses.
1) Eliminate unnecessary items in server.xml (e.g., unused connectors).
2) Reduce the number of threads
strict/reduce the overall process memory tomcat
uses.
Thanks
Christoph
-Original Message-
From: Caldarale, Charles R [mailto:[EMAIL PROTECTED]
Sent: Mittwoch, 19. Dezember 2007 15:42
To: Tomcat Users List
Subject: RE: Memory usage problem
> From: Christoph Sperle [mailto:[EMAIL PROTECTED
> From: Christoph Sperle [mailto:[EMAIL PROTECTED]
> Subject: Memory usage problem
>
> As you can see, tomcat uses 138m, even though, it was start
> up with 64m restriction (-Xmx64m).
You're confusing heap size (-Xmx) with total process space. The total
process space
Hello all
I run tomcat on a virtual private server with very limited resources.
Therefore I want tomcat to run with very restrictive memory usage. I
tried hard to get this done, but with no success. Tomcat uses as much
memory as it wants to use, regardless of the specified startup settings.
OS
plug in a profiler,
I use www.yourkit.com, you can get memory stats, like the ones you wish
for, live.
other profilers will do the job as well
Filip
Andrew Hole wrote:
I've an java application running under tomcat and in the last week
memory usage increase 50%, from 200M to 400M. I wa
, you
need to look inside the VM, with a tool like "jstat" (part of java).
On 10/10/07, Andrew Hole <[EMAIL PROTECTED]> wrote:
> I've an java application running under tomcat and in the last week
> memory usage increase 50%, from 200M to 400M. I want to know exact
hey come from ? It's not free
though as far as I know.
It might help
On 10/10/07, Andrew Hole <[EMAIL PROTECTED]> wrote:
> I've an java application running under tomcat and in the last week
> memory usage increase 50%, from 200M to 400M. I want to know exactly
> why th
I've an java application running under tomcat and in the last week
memory usage increase 50%, from 200M to 400M. I want to know exactly
why this happens. Some suggestion?
Thanks a lot
-
To start a new topic, e-mail:
Thank you Chuck and Chris for your help and advice. I will definitely be
reading your refs Chris
Regards
Peter
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additiona
1 - 100 of 164 matches
Mail list logo