Java Reference
In-Depth Information
The preceding command starts up a JBoss standalone instance that's equivalent to
starting the application server with the run.bat/run.sh script used by earlier AS
releases. You will notice how amazingly fast-starting the new release of the applica-
tion server is; this is due to the new modular architecture that only starts up neces-
sary parts of the application server container needed by loaded applications.
If you need to customize the startup properties of your application server, open the
standalone.conf file (or standalone.conf.bat for Windows users) where the
memory requirements of JBoss have been declared. Here is the Linux core section
of this file:
if [ "x$JAVA_OPTS" = "x" ]; then
JAVA_OPTS="-Xms64m -Xmx512m
-XX:MaxPermSize=256m
-Dorg.jboss.resolver.warning=true
-Dsun.rmi.dgc.client.gcInterval=3600000 -
Dsun.rmi.dgc.server.gcInterval=3600000"
fi
So, by default, the application server starts with a minimum memory requirement of
64 MB of heap space and a maximum of 512 MB. This will be just enough to get
Search WWH ::




Custom Search