You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Hans Magne Helland <ha...@gmail.com> on 2010/10/08 12:03:52 UTC

Re: apache-tomcat-6.0.29 will not start with more then 1024mb memory assigned - windows

> So you would need 64 Bit versions of those libraries which are coming from
> BMC. I would be interested in the info whether they exist as well :)

I now run ARS 7.6, with the newest Mid-Tier 7.6 on my test server and
it runs with 64 bit Java :)

But now it uses a lot of CPU. Googled it, and saw people having
CPU-usage issues with ESX Vmware and Tomcat. Is this a known thing?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: [OT] apache-tomcat-6.0.29 will not start with more then 1024mb memory assigned - windows

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

André,

On 10/8/2010 8:32 AM, André Warnier wrote:
> Hans Magne Helland wrote:
>> But now it uses a lot of CPU. Googled it, and saw people having
>> CPU-usage issues with ESX Vmware and Tomcat. Is this a known thing?
>
> As a bit of an outsider, I'd tell you that the CPU and RAM usage are a
> known thing, not particularly with Vmware or Tomcat, but with anything
> Java.
> The switch to 64-bit merely seems to double it.
> 
> But the guys on this list are all Java freaks, so they would probably
> not understand what we're talking about.  Or else they do, and they all
> have shares in Intel and Kingston.
> :-)

Let's be fair: we're Java fanboys, not Java freaks ;)

Switching to 64-bit will double the size of your pointers regardless of
programming language. Actually, Java can compress pointers even under a
64-bit environment to save space, so in that way, it might not balloon
memory use. :p

In my experience, Java does not use significantly more CPU than programs
of similar (and reasonable) complexity written in other languages: the
problem is that most people compare apples to oranges. They will compare
a "Hello World" program in Java and C and show you that the Java program
requires 6MB of heap just to get going and takes have a second to run
while the C program requires no heap whatsoever and runs instantaneously.

Yes, that's true. However, Java wasn't built to run trivial things like
"Hello World". Once you get into significant complexity, the playing
field levels quite dramatically. That's why, when writing programs, I
choose the technology that is appropriate for the situation instead of
running to one or another language/environment all the time. For
production operations, we use Java for all of our web apps, but we have
lots of utilities written in Perl, PHP, Bash scripts, and the occasional
C program: the right tool for the right job IMHO.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkyvOdMACgkQ9CaO5/Lv0PAfdQCffhIakLmPycvlseZ2Y28B58vM
cjkAnRzv6M+sCbZzxrqmGChF255GZFNY
=2z2f
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: apache-tomcat-6.0.29 will not start with more then 1024mb memory assigned - windows

Posted by André Warnier <aw...@ice-sa.com>.
Hans Magne Helland wrote:
>> So you would need 64 Bit versions of those libraries which are coming from
>> BMC. I would be interested in the info whether they exist as well :)
> 
> I now run ARS 7.6, with the newest Mid-Tier 7.6 on my test server and
> it runs with 64 bit Java :)
> 
> But now it uses a lot of CPU. Googled it, and saw people having
> CPU-usage issues with ESX Vmware and Tomcat. Is this a known thing?
> 
As a bit of an outsider, I'd tell you that the CPU and RAM usage are a known thing, not 
particularly with Vmware or Tomcat, but with anything Java.
The switch to 64-bit merely seems to double it.

But the guys on this list are all Java freaks, so they would probably not understand what 
we're talking about.  Or else they do, and they all have shares in Intel and Kingston.
:-)


On the serious side : I have several virtual servers running Tomcat under Vmware Server 
(not ESX), and I did not notice anything particular about their CPU or RAM usage, as 
compared to physical servers.  Only the same thing. :-)


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


RE: apache-tomcat-6.0.29 will not start with more then 1024mb memory assigned - windows

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Hans Magne Helland [mailto:hansmagne@gmail.com] 
> Subject: Re: apache-tomcat-6.0.29 will not start with more then 1024mb memory assigned - windows

> But now it uses a lot of CPU. Googled it, and saw people having
> CPU-usage issues with ESX Vmware and Tomcat.

Time to start a new thread, since the above is completely unrelated to the subject line.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org