This content has been marked as final.
Show 4 replies
-
1. Java heap space error during jboss start
metturarun Feb 21, 2011 6:22 AM (in response to metturarun)Any body know the reason for this issue?...
-
2. Re: Java heap space error during jboss start
robert.geisler Feb 21, 2011 10:04 AM (in response to metturarun)the problem seems to be that there is not enough memory: OutOfMemoryError ; )
need more input:- how do you start JBoss and
- how/ where do you set memory parameters?
robert
-
3. Re: Java heap space error during jboss start
gmkumar2005 Feb 21, 2011 10:24 AM (in response to robert.geisler)Seems your heap size is not effective. Try this
Stop JBoss server, edit
$JBOSS_HOME/bin/run.conf
, and then restart JBoss server. You can change the line withJAVA_OPTS
to something like:JAVA_OPTS="-server -Xms256m -Xmx512m"
kiran.kumar
-
4. Re: Java heap space error during jboss start
peterj Feb 21, 2011 10:41 AM (in response to metturarun)Are you running on Windows and are you perhaps starting JBoss AS as a service? If so, you may be running into a bug where the JAVA_OPTS setting in service.bat is causing the JAVA_OPTS settings in run.conf.bat to be ignored.