Monday, October 5, 2009

PermGen Space ERROR

TO Handle PermGEN Space ERROR/ TO Increase Memory Space for PermGen Space EROR: -

Just click on Server Properties and click on Open launch Configuration link in Server Overview tab in Eclipse as like above screenshot.

 

In this Edit Configuration ,select Arguments tab, Add Permgen variables to existing Memory variables as like below.

Dprogram.name=run.bat -Djava.endorsed.dirs="D:/PROGRAMS/jboss-4.2.3.GA/bin/../lib/endorsed" -Xms128m -Xmx256m -XX:PermSize=512m -XX:MaxPermSize=1024m

After this click on Apply buttons and RE start the server.

 

No comments:

Post a Comment