[jboss-user] [Installation, Configuration & DEPLOYMENT] - OutOfMemory Error when redeploying application

manleon do-not-reply at jboss.com
Thu Jul 10 01:33:09 EDT 2008


Hello All,

I am using Eclipse 3.3 and JBoss 4.2.2.  Now I have developed one application in eclispe and deploy that in JBoss from within Eclipse. Now while the server is on, I make some changes in Java files and now I redeploy my application. Now after redeploying my application I hit the login page of the application where I get following Error :- 

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/perfex-servlet.xml]: Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: PermGen space
Caused by:
java.lang.OutOfMemoryError: PermGen space
10:52:41,719 ERROR [[/perfex]] Servlet /perfex threw load() exception
java.lang.OutOfMemoryError: PermGen space


I am having 512MB of RAM.

Can anybody help me with this issuse. As such I am new to JBoss so i dont know from where to make any memory or allocation configurations.

Even when i start JBoss alone by copying the war file in deploy directory, my application works fine at first cut. Then i delete that war file from the deploy directory and application in undeployed while server is on. Then when i again paste the war file in deploy directory the JBoss will give same error mentioned above.

Thanks in Advance

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4163453#4163453

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4163453



More information about the jboss-user mailing list