VM Total Memory

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

Moderators: Lapo, Bax

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

VM Total Memory

Post by Laf »

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: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: VM Total Memory

Post by Lapo »

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

Post by Laf »

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: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: VM Total Memory

Post by Lapo »

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

Post by Laf »

Thanks :D
Post Reply