Forum LAMS for Tech-Heads - General Forum: jboss run.bat


 
You may request notification for jboss run.bat .
Search: 

1: jboss run.bat
07/20/09 01:55 AM
[ Reply | Forward ]
Hi,
When I goto ../bin/run.bat,excute run.bat,what the screen says is following:

===============================================================================
.
JBoss Bootstrap Environment
.
JBOSS_HOME: E:\lamssource\jboss-4.0.2\bin\\..
.
JAVA: C:\Program Files\Java\jdk1.5.0_16\bin\java
.
JAVA_OPTS: -server -Xms512m -Xmx768m -XX:PermSize=128m -XX:MaxPermSize=256m -X
X:NewSize=192m -XX:MaxNewSize=384m -Dprogram.name=run.bat -Xms128m -Xmx512m
.
CLASSPATH: C:\Program Files\Java\jdk1.5.0_16\lib\tools.jar;E:\lamssource\jboss
-4.0.2\bin\\run.jar
.
===============================================================================
.
Error occurred during initialization of VM
Too small initial heap for new size specified
请按任意键继续. . .


I know the heap size setted is too small,but I don't know where I can remend the size.

please give me the reply in time ,thanks.

Posted by shuai yuan

2: Re: jboss run.bat
In response to 1 07/20/09 07:28 PM
[ Reply | Forward ]
You can edit those settings by editing run.bat itself. There should be a line that says JAVA_OPTS=, and in this line you can remove -XX:NewSize=192m.

Posted by Jun-Dir Liew

3: Re: Re: jboss run.bat
In response to 2 07/20/09 08:14 PM
[ Reply | Forward ]
Thank you very much.

Posted by shuai yuan

4: Re: Re: jboss run.bat
In response to 2 07/20/09 08:39 PM
[ Reply | Forward ]
Why remove -XX:NewSize=192m,the problem is sloved?Why not change the number bigger?
Thanks.

Posted by shuai yuan

Reply to first post on this page
Back to LAMS for Tech-Heads - General Forum