Set max VM Memory?

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

Post Reply
reecedogcp78
Posts: 71
Joined: 12 Dec 2010, 18:16

Set max VM Memory?

Post by reecedogcp78 »

Hello, quick question today

So I launch the server and I noticed this:

Code: Select all

System CPU(s): 4
VM Max memory: 66 MB
Im running on a 2GB linux server so Do I need to alter this or does it just go up by itself?
~Reecedog,

Experienced blogger with 100 thousand hits gathered.

New to SFS But also very good with it :)
User avatar
rjgtav
Posts: 2813
Joined: 19 Apr 2009, 11:31
Location: Lisbon, Portugal

Re: Set max VM Memory?

Post by rjgtav »

Hi.
You can check this chapter of the docs, as it explains how to fine tune the memory used by the Java Virtual Machine. But please only edit those values if the server starts complaining about OutOfMemory errors, as increasing too much the used memory could destabilize your server.
Skills: SFS Pro, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS, C#
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
Post Reply