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.
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
Call startjboss with -usage to get a complete list of options.