by Westy » Sun Mar 26, 2017 9:57 pm
After re-reading the article, I have changed the above section of the wrapper.conf file to:
"# Java Additional Parameters
wrapper.java.additional.1=-Djava.awt.headless=true
wrapper.java.additional.2=-Duser.dir="C:\Servoy\application_server"
wrapper.java.additional.3=-Djava.io.tmpdir="C:\Servoy\application_server\server\work"
wrapper.java.additional.4=-XX:MaxPermSize=128m
wrapper.java.additional.5=-XX:MetaspaceSize=640M
wrapper.java.additional.6=-XX:MaxMetaspaceSize=640M
wrapper.java.additional.7=-XX:MinMetaspaceFreeRatio=0
wrapper.java.additional.8=-XX:MaxMetaspaceFreeRatio=100
wrapper.java.additional.9=-XX:MaxPermSize=128m
wrapper.java.additional.10=-XX:+UseG1GC
# Working dir (for JNI calls)
wrapper.working.dir=C:\Servoy\application_server
# Initial Java Heap Size (in MB), when G1GC is used just set the init memory to the max memory
wrapper.java.initmemory=6400
# Maximum Java Heap Size (in MB)
wrapper.java.maxmemory=6400"
At the top of the servoy-admin home page it now says
on the production server (Windows Server 2008):
Heap Space Memory: allocated=516608K, used=377391K, max=5825536K
Non-Heap Space Memory: allocated=109824K, used=81228K, max=180224K
on this new staging server (Windows Server 2016):
Heap Space Memory: allocated=6553600K, used=149504K, max=6553600K
Non-Heap Space Memory: allocated=69632K, used=66632K, max=1949696K
Both servers have 12GB of RAM. My objective is to replace the production server with the staging server? If anyone sees anything above that might cause a problem, please let me know.
Dean