VM Total Memory

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

Moderators: Lapo, Bax

Laf
Posts: 10
Joined: 18 Jan 2015, 14:27

VM Total Memory

Postby Laf » 18 Jan 2015, 17:04

I'm using SmartFox 1.6.14 and I would like to know how to put more memory for the VM Total Memory
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: VM Total Memory

Postby Lapo » 19 Jan 2015, 10:03

Hi,
you can add the -Xms and -Xmx parameters to your start script.

For example: -Xmx1G will assign 1GB of RAM to the JVM

See the docs here: http://www.smartfoxserver.com/docs/1x/d ... nced.htm#6

cheers
Lapo
--
gotoAndPlay()
...addicted to flash games
Laf
Posts: 10
Joined: 18 Jan 2015, 14:27

Re: VM Total Memory

Postby Laf » 19 Jan 2015, 11:49

I put this 1.5GB is normal memory usage? 18 Players Online
Attachments
big usage.png
(1.84 KiB) Not downloaded yet
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: VM Total Memory

Postby Lapo » 19 Jan 2015, 12:24

The more memory you assign, the more will be used internally.
This does not mean that you're running out of memory, far from it. To see all the details of the memory usage/consumption you can use a dedicated tool such as JConsole or VisualVM, both come bundled with any JDK.

http://visualvm.java.net/

cheers
Lapo

--

gotoAndPlay()

...addicted to flash games
Laf
Posts: 10
Joined: 18 Jan 2015, 14:27

Re: VM Total Memory

Postby Laf » 19 Jan 2015, 13:30

Thanks :D

Return to “SmartFoxServer 1.x Discussions and Help”

Who is online

Users browsing this forum: No registered users and 48 guests