Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Review JVM parameters

Java servers work best when provided plenty of memory.  The “./startjboss” script in the root of the quickstart is configured to start with 600mb of memory by default.  This can be decreased for running on a laptop or increased for production (e.g. 4G) using the command line parameters with the ./startjboss script.

From the top of the quickstart,

  • Unix:  /startjboss [-heap size] [-newsize size] [-permsize size]
  • Windows:  startjboss.bat [-heap size] [-newsize size] [-permsize size]

The default settings are currently:  heap =  600M, newsize = 200M, and permgen = 256M.

Call startjboss with -usage to get a complete list of options.

You may also choose to edit the default values in the startjboss script directly in:

  • Unix: <quickstart>/bedework/build/quickstart/linux/startjboss
  • Windows: <quickstart>\bedework\build\quickstart\windows\startjboss.bat
  • No labels