How sfs server decides how much memory to allocate for the VM when not specified in the wrapper config? Does it gets all the memory and get certain percent?
P.S.
wrapper.java.initmemory in wrapper.conf seems to do nothing. Is that a bug?
Sfs default heap size
This depends on the inner workings of the JVM, SmartFoxServer has non control over it.
You can change the memory settings by using the -Xms -Xmx switches which indicate respectively the min. and max. amount of heap memory.
These settings can be added both to the start.sh/.bat script or in the JVM custom arguments in the Server/conf/wrapper.conf file.
You can change the memory settings by using the -Xms -Xmx switches which indicate respectively the min. and max. amount of heap memory.
These settings can be added both to the start.sh/.bat script or in the JVM custom arguments in the Server/conf/wrapper.conf file.
Return to “Server Side Extension Development”
Who is online
Users browsing this forum: No registered users and 22 guests