What happens if we have duplicated jvm parameters?
Issue
Installing JBoss on Windows 2008, we modified the script to install a service, adding:
JAVA_OPTS=-Xrs -Xmx512m -Xms512m -XX:MaxPermSize=256m -XX:PermSize=196m
The values Xmx and Xms are also in the run.bat:
rem JVM memory allocation pool parameters. Modify as appropriate.
set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m
So what happend if we have in both places? would it take the first one?
Environment
jvm
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
