Server lagging due to No Memory?

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Pykaxe

Member
Jul 26, 2017
32
1
0
23
Hi, thanks for clicking my post. So a few days ago, I made a script that will show me the Server's free memory if you do /checkmemory,

I currently gave 2GB memory to my Server on localhost (-Xmx 2G)

When I checked how much RAM the server is using I was shocked!
It was using 1342 out of 1908 Megabytes. I Checked when 1 Player was online

Is this normal? Should my server be using this much ram with 13 Plugins?
Can you give me some tips on how to Lower the usage?

Here are the plugins I'm using:
Citizens, ProtocolLib, skDragon, skLib , MundoSK, SkQuery,
skRayFall, Skellett, Skript, SkStuff, Tuske, SkUtilities, Vixio


Script size:
All of my Scripts 210KB


Thanks for reading. I hope i can fix this. I really want my players not to lag :emoji_frowning:
 
It probably means nothing, for my server using the argument "java -Xms3G -Xmx3G -jar spigot-1.8.8.jar" actually fixed it. It made the used memory go down to under 1 gigabyte and my server is relying on some really heavy skripts.
 
Status
Not open for further replies.