Page History
...
The Perm Space is the space used by Java to store objects that are long lived. As such this space will .....the loaded classes and other static things, so if you have many plugins and support libs, it is possible that this should be increased. The setting related to the Java Perm Space is only the following.
...
Code Block |
---|
wrapper.java.additional.4=-XX:MaxPermSize=128m # Initial Java Heap Size (in MB) wrapper.java.initmemory=32 # Maximum Java Heap Size (in MB) wrapper.java.maxmemory=2561280 |
For more information on configuring the Service component, see Running the server as a service
...
Code Block |
---|
java -Djava.awt.headless=true -Xmx256mXmx1280m -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 configures of 1280m, it could be that this is to high for small servers, and you get this errror: "Error occurred during initialization of VM "Error occurred during initialization of VM please lower then the Xmx value to something your server can handle. |
32bit Java Memory assignment limitation
...