You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Christopher Schultz <ch...@christopherschultz.net> on 2013/01/30 19:36:08 UTC
Re: [OT] Tomcat using near 100% of CPU on Windows 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Chuck,
On 1/30/13 1:04 PM, Caldarale, Charles R wrote:
>> From: Dima Iva [mailto:otstoi@live.com] Subject: Tomcat using
>> near 100% of CPU on Windows 2008
>
>
>> I added CATALINA_OPTS=-Xms4096m -Xmx512m to the Environment
>> Variables
>
> That's clearly wrong; you made the maximum smaller than the
> minimum. What makes you think you have a heap size problem?
He's got a negative heap, of course. He needs to use anti-objects
instead of objects. Make sure not to mix the two or they will
annihilate each other.
> Also note that setting environment variables when running
> tomcat7.exe is pointless. Use the control panel (tomcat7w.exe) to
> set options for the Tomcat service.
+1
Take a thread dump, get a heap summary.
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iEYEAREIAAYFAlEJaBgACgkQ9CaO5/Lv0PC79QCgnDP9tooAxQtjSUna3ylX+EKJ
G2oAn2aMRAz2Ihe46BAT24qKGWO6czBV
=wydt
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org