-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Peter,

On 4/10/12 12:45 PM, peter nightingale wrote:
> I recently updated from 7.0.25. I was able to start with -Xmx32m.
> After getting 7.0.27 - I ended up needing to go all the way to
> -Xmx512m. Note that the OOM only occured on startup. After starting
> up and attaching with JConsole - Heap was very small.

Can you configure your JVM to dump the heap on OOME and then post it
somewhere?

I'm developing on Mac OS X and I have 7.0.27 running with a
(system-default) heap size of 128MiB that doesn't bust the heap during
startup.

What webapp version are you running? Mine happen to be 2.4-spec, which
I don't think includes any annotation-scanning, so that may be a big
difference.

> I was able to get 7.0.27 back to to -Xmx32m by updating
> catalina.properties with: 
> tomcat.util.scan.DefaultJarScanner.jarsToSkip=*.jar

You also might be able to put this into your <Context> element:

<JarScanner scanClassPath="false" />

> Rolled back to 7.0.25 ;)

:(

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+EdcgACgkQ9CaO5/Lv0PD+OACfYxSfz3rlggVUHQYPPx9CVdGc
jNoAn3PRIi73K2J3opTYm9QDDbOCcYWr
=xT4O
-----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