How are you starting the JBoss server? It is at that point that the arguments should be passed to the JVM.
thanks for your answer
i have found following two lines in the "run.bat" file:
rem Sun JVM memory allocation pool parameters. Modify as appropriate.
set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m
is that right???
That is right if you using the run.bat batch script to start JBoss.