View Single Post
CT_Spawn
Junior Member
Join Date: Apr 2024
Old 04-28-2024 , 19:35   Re: Radio Gag System
Reply With Quote #8

Quote:
Originally Posted by WATCH_D0GS UNITED View Post
PHP Code:
new array_cells[30000
32-bit system:

30000 * 4 = 120000

120000 Bytes -> 0.114 Megabytes

64-bit system:

0.228 Megabytes
32*32*4=4096 .....(1)
+
39*32*4=4992 ....(2)

(1) + (2) = 9088 Bytes
************************
24 * 60 = 1440 minutes

map time = 10 minutes
1440/10 ======> have 144 map in one day
so
9088 * 144 = 1308672 Bytes = 1.25 mb in one day

so
1.25 * 30 = 37.5 mb in 1 month

so
37.5*12=450 mb

This is just what we calculated on my plugin

So what if we count the other plugins?
Also, the system and the server software, we assume that they both carry 750 MB without taking into account additional other plugins, and I add only my 450 MB program to them.

That means the total is 1.2 GB
Imagine that the server only has 1 GB of RAM


It's strange to see a programmer bragging about memory loss like you

Didn't you study web programming and learn from it that you should do your best to reduce the volume, even if it is small?
CT_Spawn is offline