Posts: 1,219
Threads: 51
Joined: Jul 2012
23.12.2016, 14:32
(
Last edited by BiosMarcel; 23/12/2016 at 05:18 PM.
Reason: More fitting title
)
Hello guys,
Let's say you want to create a server that use 20 plugins, considering this, you would need a lot of RAM i think.
So, my questions are:
1. Can you manage the maximum RAM usage?
2. Is there a default, if yes, how high is it?
3. (If "1" applies) How do you do it?
greeings Marcel
Posts: 10,066
Threads: 38
Joined: Sep 2007
Reputation:
0
I am not aware of any means to set a limit on RAM usage. Probably possible with third party tools. Since the SA-MP server is 32-bit the maximum amount of RAM it can address is 2 GB if run under a 32-bit OS or 4 GB if run under a 64-bit OS. I don't know if plugins share the same memory space though, so this limit could also apply to each individual plugin. Although the most memory intensive plugin, which I think is still MapAndreas, hardly reaches 150 megabytes, anyway.
Posts: 1,219
Threads: 51
Joined: Jul 2012
So i should just get an 64 Bit machine with at least 5 Gigs of Ram if i know i'll use up a lot?
I got myself 2gb ram vps as the owner had told me "the script is messy", i went to check "htop" (linux) and i saw the total ram usage was max 200 mbs and max 8% cpu usage....
5gbs is way tooooooo much bruh
Posts: 1,219
Threads: 51
Joined: Jul 2012
Quote:
Originally Posted by iLearner
I got myself 2gb ram vps as the owner had told me "the script is messy", i went to check "htop" (linux) and i saw the total ram usage was max 200 mbs and max 8% cpu usage....
5gbs is way tooooooo much bruh
|
Was just wondering, because i intent to use a lot of plugins and i also intent to stream a lot of objects like 5000 - 8000
Posts: 1,219
Threads: 51
Joined: Jul 2012
I am running a Teamspeak 3 server, a apache server (php) , a MySQL Server and a samp server
And no, my script is not compeltly unoptimized