-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Muhammad,

On 11/6/13, 1:43 AM, Muhammad Ali Orakzai wrote:
> -XX:MaxPermSize=100m

You don't have any other heap-sizing parameters. Perhaps you simply
need more memory? It used to be that the default heap sizes were very
small (sometimes like 64MiB) and you may simply need much more. How
much memory is the JVM actually running with given your existing
command-line? You can check with "jinfo" from the command-line.

> -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled 
> -XX:+HeapDumpOnOutOfMemoryError

Have you inspected one of these? You should get one for each OOM. You
should be able to find out what kinds of objects are filling-up your
heap. It should give you some clue as to what kind of action you
should take next: either raise your heap size or fix your web application.

> -Dcom.sun.management.jmxremote 
> -Dcom.sun.management.jmxremote.port=9004 
> -Dcom.sun.management.jmxremote.ssl=false 
> -Dcom.sun.management.jmxremote.authenticate=false

Um... the above doesn't look like a good idea, but only you know your
own environment.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJSel9OAAoJEBzwKT+lPKRYmDQP/3ZcHDmotCo1ZdX2IKMlfHAZ
kHHZuuU62uAXhMDABYn768M0jKqs90P5yBPcb09PYxB0ZuPBSgq5hgANWAD/mcIc
l558lg5LAc5yfbZedgLZzuMA+13/G/z8jBnND1j1S0psaMYA8LVk3ExidxwXbBB+
WEpRCZNhMovZkL2rHxO37vYGP0DNUtREjpVs+S4fWOJCYRrQmajfBwMttTVl36U/
2md195/N0JccdCa119kV8WACIr5jeDXa6al3raP+dC893SUW2pZB/M6Wxk6eLND0
q8bIRjGuzfqZNn+tupNKKJqakT5kW8xASMrjUKKTq0/l6+nHD3DDSMa8Qi0YyWFD
VL3YuW7IYCpGjniCWrXAeB5KxueS7OUoSq5EM290fs51ZYSY/LF5Stb7ybEAAL9a
e4oisal9u/Jc3ZRsH3hgJDJusgAL7lF1GCOW/DVf5pvbrL75SdslAO67j92fJ3GI
9YtBQucpYLNvfUyqf+fOde5bcdECImmo2nM7fOt6fmd9rQBPNLC+holwvbixqfZO
/Ny6e6NrRfxvHHw45/T0xE0IjUufSpmQQ0/n5hISg2YUtoEfIUqvc3Xv7FCEa+H4
hlDapQmJPGhfPWZhJSN8DqiGVHMBf/dUcyHfCeIb4Hs1FczX7/EXel6Pwn86N2MZ
3LDowe2VrWhevlfDBL07
=bzZV
-----END PGP SIGNATURE-----

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

Reply via email to