Page History
...
For more information on configuring the Service component, see Running the server as a service
...
Manual start: servoy_server.bat/.sh (or starting it as a Servoy cluster)
...
When starting the Servoy Application Server manually through {serverInstall}\application_server\servoy_server.bat/.sh, the memory settings for the Application Server can be configured inside servoy_server.bat/.sh, by altering the -Xmx value:
Code Block |
---|
java -Djava.awt.headless=true -Xmx1280m -Xms64m -XX:MaxPermSize=128m ..... |
...
Starting in Servoy Cluster: start_servoy_clustered.bat/.sh
...
. |
...
. |
...
Code Block |
---|
-Xmx256m -Xms64m -XX:MaxPermSize=128m
|
Note | ||
---|---|---|
| ||
When specifying the -Xmx and -Xms values, the following needs to be taken into account:
By default the servoy server start files (wrapper or sh/batch) files will have the maximum configured of 1280m, it could be that this is to high for small servers, then you could get this errror: "Error occurred during initialization of VM please lower then the Xmx value to something that your server can handle. |
...