java.lang.OutOfMemoryError : Permgen
space in eclipse
Step 1: Click on server
Step 2: Click on Open launch configuration
Step 3: Enter the following arguments in VM arguments.
-Dprogram.name=run.bat
-Djava.endorsed.dirs="D:/jboss-4.2.3.GA/bin/../lib/endorsed" -Xms512m
-Xmx1024m -XX:+UseParallelGC -XX:PermSize=256M -XX:MaxPermSize=512MTo change JBoss port while running
-Djboss.service.binding.set="ports-03
Program arguments:
-c default or -c default –b 0.0.0.0
No comments:
Post a Comment