Rahul Kumar Singh wrote:
Hello André Warnier,
Thanks for your response.
That should be much easier and quicker to check this by yourself, as you
obviously already have the 2 Tomcat versions up and running.
Remove your own application, deploy one of the standard Tomcat-examples
applications, and have a look.
Yes, we have done the above suggested exercise. And got the below output of
top command result.
Development environment:
===========================
RAM: 25 GB
CPU: CPU Intel(R) Xeon(R) CPU X5450 @ 3.00GHz
OS: RHEL Linux (5.8)
==========================
Tomcat 6(6.0.28)
Virtual Memory: 6772 MB
Resident Memory: 81 MB
Exact command-line that starts Tomcat6 (as given e.g. by "ps -ef | grep java") :
Tomcat 7(7.0.54)
Virtual Memory: 6778 MB
Resident Memory: 148 MB
Exact command-line that starts Tomcat7 (as given e.g. by "ps -ef | grep java") :
(That is for us to know if, for example, there are any command-line parameters that might
explain the difference)
Also, which exact example Tomcat application are you deploying in both cases
above ?
Note: these questions are not asked to annoy you, or to delay a response. You realise
that Tomcat is open-source free software, and that the people manning this forum are doing
that for free, on their own time. Also simulating your case will require someone to spend
some time creating the same setup as yours. So all in all, the more precise information
which you provide, the more time you allow these people to save in order to give you an
accurate answer, and the faster you will have that answer.
And if you want to know about heap dumps, this looks like a good start :
http://www.jahia.com/community/blogs/tips-and-tricks-for-analyzing-java-virtual-machine
(searching Google for "tomcat heap dump")
If there is still a big difference between v6 and v7, then come back here. At
least then there will be a reproducible test case for someone here to have a
closer look.
And if there is not a big difference, then obviously it must have something to
with your application. And then, follow Mark's already-given advice to find
out what.
The initial value is also somewhere double of tomcat6.
Regards,
Rahul Kumar Singh
-----Original Message-----
From: André Warnier [mailto:a...@ice-sa.com]
Sent: Monday, March 23, 2015 2:32 PM
To: Tomcat Users List
Subject: Re: Tomcat 7 (7.0.54) memory consuption is very high(3 times) than
Tomcat 6 (6.0.28)
Rahul Kumar Singh wrote:
Dear Thomas,
Thanks for your quick response,
Tomcat doesn't use anything like that much memory on its own. I suspect it is
the application although the difference between Tomcat 6 and Tomcat 7 is
unexpected.
Ok, I understand,
But could you please confirm us theoretically that is there any difference in
initial memory requirement of tomcat6 and tomcat 7?
That should be much easier and quicker to check this by yourself, as you
obviously already have the 2 Tomcat versions up and running.
Remove your own application, deploy one of the standard Tomcat-examples
applications, and have a look.
If there is still a big difference between v6 and v7, then come back here. At
least then there will be a reproducible test case for someone here to have a
closer look.
And if there is not a big difference, then obviously it must have something to
with your application. And then, follow Mark's already-given advice to find
out what.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and
intended
for the named recipient(s) only.
It shall not attach any liability on the originator or NEC or its
affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the
opinions of NEC or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification,
distribution and / or publication of
this message without the prior written consent of the author of this e-mail is
strictly prohibited. If you have
received this email in error please delete it and notify the sender
immediately. .
-----------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org