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

  Why does the memory usage increase when I redeploy a web application?
Because the Classloader (and the Class objects it loaded) cannot be
recycled. They are stored in the permanent heap generation by the JVM,
and when you redepoy a new class loader is created, which loads another
copy of all these classes. This can cause OufOfMemoryErrors eventually.

I found it at:
http://jakarta.apache.org/tomcat/faq/deployment.html

I am trying to understand why I run out of permanent memory when I
redeploy my beehive-based webapp, after about the 10th redeployment.

Thanx.

- --
"Love is mutual self-giving that ends in self-recovery." Fulton Sheen
James Black    [EMAIL PROTECTED]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCztZMikQgpVn8xrARAoQEAJ0V9aF3djyzIT9FDtCDP2WL22q8vACdFy3r
xNiOIuvLbvv/rder714v9ls=
=/ua5
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to