Posts: 4
Threads: 2
Joined: Jan 2013
Thanks: 0
Given 0 thank(s) in 0 post(s)
01-09-2013, 10:12 PM
(This post was last modified: 01-09-2013, 10:12 PM by smoochict.)
Hi,
I apologize if this has been asked in another thread but i was wondering what the memory requirements are for MC-Server? Craftbukkit and the vanilla Minecraft server (both written in java) require RAM in excess of 1GB to handle 10 players properly.
Was wondering what your experience, if you've done any testing etc that could provide me this type of information?
Thanks!
Posts: 4,634
Threads: 115
Joined: Dec 2011
Thanks: 694
Given 495 thank(s) in 424 post(s)
maybe this is something to post at the feature list.
Posts: 1,450
Threads: 53
Joined: Feb 2011
Thanks: 15
Given 120 thank(s) in 91 post(s)
It used to be 80kb per loaded chunk, but obviously that's twice as much now with the twice as high chunks nowadays. So it should be at least 160kb per loaded chunk.
If you put view range to 10, it should load 10x10 chunks per player. 10*10*160 = 16MB per player.
There are much more things in MCServer taking RAM, such as caching things and what not so it'll probably be more than that.
Posts: 1,469
Threads: 57
Joined: Jul 2012
Thanks: 66
Given 127 thank(s) in 108 post(s)
Also, players tend to overlap slightly, so it might be less.
Does MCServer also keep the spawn loaded at all times?
Posts: 1,469
Threads: 57
Joined: Jul 2012
Thanks: 66
Given 127 thank(s) in 108 post(s)
OK, that's just the behaviour of vanilla so I was wondering.
Also, 10 is a radius, not a diameter. So in total the diameter is 21 so it is 21*21*160 (70 megs a player)
Posts: 4
Threads: 2
Joined: Jan 2013
Thanks: 0
Given 0 thank(s) in 0 post(s)
01-11-2013, 09:58 PM
(This post was last modified: 01-11-2013, 09:58 PM by smoochict.)
Whatever the usage you described.. much, much better than Vanilla, Craftbukkit..
Plus C++ > Java IMO