Hi, just wondering if anyone knows how skript handles memory usage, although the server only has around 1,000 loaded variables, over 4~ hours the free memory gradually decreases and eventually starts reaching 0mb causing a severe lag spike. The majority of the server is skript so it can't be to do with the actual code, but the only thing I can think is it's something to do with the variables. I have a lot of variables that get created and then deleted, but when skript clears the data, does it clear the ram as well? If that's the case then there's potentially 100,000+ that get created and deleted over 4 hours which would explain it, and when the server restarts everything runs smoothly.
https://gyazo.com/f74efb00face65ab0798eeb9f000a984
This is with 3 hours server uptime and only 30 players online, it doesn't make sense for the memory to drop this low.
https://gyazo.com/f74efb00face65ab0798eeb9f000a984
This is with 3 hours server uptime and only 30 players online, it doesn't make sense for the memory to drop this low.
Last edited: