Page History
...
Modify the following entry to the JBoss run.bat file which is located at
<application_root_directory>/jboss-5.1.0.GA-nci/bin/run.bat
. Find the line that begins withset JAVA_OPTS= -Dbda=bda -Dprogram.name=%PROGNAME% -server
and modify the"-Xms256m -Xmx512m"
to read"-Xms4096m -Xmx4096m"
.Info title Physical memory If 4096m is higher than the physical memory on the machine, then performance could be severely impacted with performance degradation and errors. 4096m of physical memory is recommended.
Warning title Warning Be careful when copying and pasting from this installation guide. No spaces must come before and after the columns. A safe way to ensure that the text has no unwanted space and unwanted characters is to copy the text into a blank text editor such as NotePad first. Then you can correct the spacing and copy-paste back into the run.bat file.
- {multi-excerpt-include:
Restart your JBoss 5.1.0 server for the changes to take effect. The method of doing this may depend on the start/stop/restart scripts you created after the installation. Most commonly, you can execute shutdown.bat and then
run.bat
under$JBOSS_HOME/bin
. Refer to the publicly available JBoss user's guideWiki Markup Multiexcerpt include nopanel true MultiExcerptName ExitDisclaimer PageWithExcerpt wikicontent:Exit Disclaimer to
|name=ExitDisclaimer|nopanel=true}Include
for more information.
Configuring JBoss Servers and MySQL Server to Run as Services
...
Multiexcerpt include | ||||||
---|---|---|---|---|---|---|
|
...
Windows
When installing MySQL server on Windows, choose the option to run MySQL as a Windows service.
...