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

Remy,

[EMAIL PROTECTED] wrote:
>> That means, that hibernate apps will always generate OOM...
> 
> Not always. But some hibernate/cglib/tomcat uses seems to generate
> classloader memory leak:
> http://opensource.atlassian.com/confluence/spring/pages/viewpage.action?
> pageId=2669
> 
> You can easily reproduce this behaviour.
> Write a quite empty webapp with hibernate (so cglib too) which contains
> just a JSP/servlet which do a dummy DBMS request (select sysdate from
> dual) and print the result.
>  -Deploy it 
>  -access to your JSP/servlet
>  -reload webapp
> Write a Jmeter scenario that execute those 2 last steps.
> Repeat it many times (<10 times for a default heap sized JVM)
> You will see your Permgenspace always growing and crash at the high
> level (64MB default)

Can you confirm the types of objects that are filling up the
Permgenspace, or just that it is filling up. I'd love to know if you're
overflowing with Class, String, and char[] objects (which are the
offenders when ClassLoaders cannot unload their Class objects).

- -chris

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

iD8DBQFFbFaE9CaO5/Lv0PARAqAQAJ9FRw9jWZiNgv8WMVoHn3rbSEgqNwCdEezp
I27aI0oZuDkURlyiLPFcpLE=
=XJwy
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to