Page 1 of 1

High RAM usage when using SmartFox

Posted: 17 Mar 2024, 06:25
by Nancywilson830
Hi guys,
I am currently using SmartFox server with a 16GB RAM machine. At first it used around 5 to 6 GB, but I noticed recently it increased a lot at about 12GB. Is there anything I can do to reduce the RAM usage?
Best regards,
Nancy

Re: High RAM usage when using SmartFox

Posted: 18 Mar 2024, 09:31
by Lapo
Hi,
normally SFS2X does not require that much RAM but depending on the amount of traffic and custom server side code you're using it can eat up more resource. Did you change the default memory settings of the server?
If so how?

Thanks

Re: High RAM usage when using SmartFox

Posted: 26 Mar 2024, 02:40
by hieuitvnsoft
Hi Lapo
https://freeimage.host/i/JjKa2j4
I have a question. Our server runs 8Gb of RAM but SFS only recognizes 2GB. Usage range is only 800Mb. So let me ask how to configure SFS to receive more RAM

Re: High RAM usage when using SmartFox

Posted: 26 Mar 2024, 07:46
by Lapo
Hi,
SmartFoxServer doesn't need much memory to operate even with 1000s of concurrent players. The server will allocate more memory if necessary, otherwise il will use just what is needed.

If you want to learn more:
https://smartfoxserver.com/blog/sfs2x-m ... on-part-1/
https://smartfoxserver.com/blog/sfs2x-m ... on-part-2/

Cheers