Page 1 of 1

Increase RAM capacity for SFS server?

Posted: 26 Mar 2024, 03:02
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: Increase RAM capacity for SFS server?

Posted: 03 Apr 2024, 07:13
by Lapo
Hi,
memory management in Java is counter-intuitive. I don't think your system is lacking RAM, in fact the JVM can use 2+ GB but it has only effectively allocated ~700MB which is enough.

If you want you can force the JVM to use more RAM but it's not necessarily going to change much, as your application is not using more than what you see.
For more info on this take a look at these articles:
https://smartfoxserver.com/blog/sfs2x-m ... on-part-1/
https://smartfoxserver.com/blog/sfs2x-m ... on-part-2/

Cheers