Is it normal for SFS to use so much memory?
This is a non-public server and used by developers for testing.
SFSPRO_V :1.6.20
OS: linux ubuntu 20.04.
HELP|| Overuse of memory?
-
- Posts: 27
- Joined: 20 Jun 2016, 18:30
HELP|| Overuse of memory?
Last edited by ransaymour on 16 Jul 2022, 12:38, edited 1 time in total.
Re: HELP|| Overuse of memory?
Hi,
if the machine has a lot of RAM available, SFS will use it. This is normal behavior for any Java application which essentially allocates the initial amount of memory as a fraction of the system RAM. This doesn't mean that SFS is actually using all that memory, but rather that the memory is available for use.
If you want to put a limit you can add a -Xmx switch in the launch script with the amount of maximum RAM to use.
For example:
limits the max RAM used by the JVM at 1GB.
On a 32GB machine the JVM can start with ~8GB of max memory, which doesn't mean it uses all of it, but it can reach that limit if necessary.
Cheers
if the machine has a lot of RAM available, SFS will use it. This is normal behavior for any Java application which essentially allocates the initial amount of memory as a fraction of the system RAM. This doesn't mean that SFS is actually using all that memory, but rather that the memory is available for use.
If you want to put a limit you can add a -Xmx switch in the launch script with the amount of maximum RAM to use.
For example:
Code: Select all
-Xmx1000M
limits the max RAM used by the JVM at 1GB.
On a 32GB machine the JVM can start with ~8GB of max memory, which doesn't mean it uses all of it, but it can reach that limit if necessary.
Cheers
-
- Posts: 27
- Joined: 20 Jun 2016, 18:30
Re: HELP|| Overuse of memory?
Hi lapo, now everything is clear.
thanks so much for the quick reply !!
thanks so much for the quick reply !!
Return to “SmartFoxServer 1.x Discussions and Help”
Who is online
Users browsing this forum: No registered users and 95 guests