I tried this a few times already it always says my VM Max Memory is 66M in the logs and on the Admin Tool. My dedicated server has 1G of memory and usually has 550M available. I use the command "./sfs restart" to get running and in my "start.sh" I have:
java -Xms128M -Xmx512M -cp "./:./sfsExtens ...
Am I missing something?
Linux virtual memory not increasing with -Xms?
Yes, there are two ways of starting the server under Linux
start.sh launches the JVM directly
sfs starts the server as daemon
If you use sfs you should do the following:
Open your Server/cfg/wrapper.conf file
Scroll down until you get to these lines:
and add the following:
Save and restart.
start.sh launches the JVM directly
sfs starts the server as daemon
If you use sfs you should do the following:
Open your Server/cfg/wrapper.conf file
Scroll down until you get to these lines:
Code: Select all
# Java Additional Parameters
wrapper.java.additional.1=-Dfile.encoding=UTF-8
wrapper.java.additional.2=-Djava.util.logging.config.file=logging.properties
Code: Select all
wrapper.java.additional.3=-Xms64M
wrapper.java.additional.4=-Xmx256M