Extreme memory use need help !

Discussion in 'Bukkit Help' started by thomas12000, Jul 16, 2016.

Thread Status:
Not open for further replies.
  1. Offline

    thomas12000

    I'm having issues lately with my server when people use any teleportation command such as /warp , /tpa , /home , /spawn they imminently lagg (their ping skyrockets) !

    Here is my batch for running the server !
    Code:
    @echo off
    java -Xincgc -Xms1024M -Xmx2048M -jar server.jar nogui
    PAUSE
    I use Essentials as my basic plugin for all those things mentioned above !
     
  2. @thomas12000 Could be you just don't have enough ram to have your plugins and worlds and them your players loading in the chunks when they teleport there. Are the chunks unloaded when the player teleports, try with the chunks loaded and see if there is a difference.
     
  3. Offline

    thomas12000

    I'm also suspecting that one of my plugins is just memory throttling my server since i only have essentials as not my plugin the rest is custom made
     
  4. Offline

    mine-care

    @thomas12000 bingo! We might have to look at the code of one of the plugins you have custom made to check for the so called ram leaks... Mind sharing one?
     
  5. @thomas12000 I suspect a memory leak like @mine-care has said already. Do you store player objects or anything like that in a list? Could we have a look at one plugin handling data and see if we can find any leaks.
     
  6. Offline

    thomas12000

    First i will try to fix some myself logically then if the same error persists i will post the code
     
  7. Hi there, if you do /mem on your server you should be able to see what worlds are taking up the most data. When you have found out this you can then edit the worlds, and then cut down on the number of worlds to have. Try to make sure you do not have accessive amount of plugins. Depending on the hosting server that you have, if you have any backups saved, that may be impacting the data/ram! Hope this helps :) also I recommend you have Clear Lag plugin. It clears all entities which causes lag. This is just in case you do not find anything else which is lagging the server. Like the guys above said!
     
Thread Status:
Not open for further replies.

Share This Page