[jboss-user] [Installation, Configuration & DEPLOYMENT] - Hot deploy causes OutOfMemoryError: PermGen space
basca
do-not-reply at jboss.com
Fri Nov 2 06:56:11 EDT 2007
After several deployments of my WAR, by copying new builds to the deploy directory of a running JBoss instance, I encounter OOMs as illustrated in the following log fragment:
18:13:56,799 ERROR [ContextLoader] Context initialization failed
| 18:13:58,893 ERROR [[/mywar]] Exception sending context initialized event to listener instance of class MyContextListener
| java.lang.OutOfMemoryError: PermGen space
| 18:14:00,924 ERROR [BaseModelMBean] Exception invoking method addChild
| java.lang.OutOfMemoryError: PermGen space
| 18:14:01,940 ERROR [BaseModelMBean] Exception invoking method init
| java.lang.OutOfMemoryError: PermGen space
| 18:14:05,111 WARN [ServiceController] Problem starting service jboss.web.deployment:war=mywar-3.0-SNAPSHOT.war,id=1629201312
| java.lang.OutOfMemoryError: PermGen space
| 18:14:07,143 ERROR [MainDeployer] Could not start deployment: file:/D:/JBossAS-4.0.3SP1/server/default/deploy/mywar-3.0-SNAPSHOT.war
| java.lang.OutOfMemoryError: PermGen space
I've done some research and there seem to be several possible causes. What approach do you suggest in tracking this issue?
Environment:
11:33:16,447 INFO [Server] Release ID: JBoss [Zion] 4.0.3SP1 (build: CVSTag=JBoss_4_0_3_SP1 date=200510231751)
| 11:33:16,697 INFO [ServerInfo] Java version: 1.5.0_11,Sun Microsystems Inc.
| 11:33:16,697 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_11-b03,Sun Microsystems Inc.
| 11:33:16,697 INFO [ServerInfo] OS-System: Windows XP 5.1,x86
Many thanks!
Bas
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4101236#4101236
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4101236
More information about the jboss-user
mailing list