Memory Leak

Discussion in 'Bukkit Help' started by Gabes100, Nov 4, 2012.

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

    Gabes100

    I need help with this badly. I have been running a small server (1-15) players with about a GB of ram. by the end of an hour the ram has gone over a gig and lags really and has caused to me to restart by the hour. I know it is one of the plugins I have but I have not a clue which one is causing it. I have 11 plugins: Essentials [cobble] Essentials Anti Build [cobble] Essentials Chat [cobble] Essentials Protect [cobble] Essentials Spawn [cobble] World Edit [cobble] World Guard [cobble] Factions [cobble]Multiverse-core [cobble]Multiverse-inventories [cobble] Multiverse-portals [cobble] Piston chest. I only have 2 worlds and one of them has no animals or monsters. Can you tell me which plugin or plugins are keeping the memory?
     
  2. Offline

    lol768

    Install a RAM checking plugin. I can tell you Essentials will be quite bad though
    http://dev.bukkit.org/server-mods/ram/
     
  3. Offline

    -_Husky_-

    Multiverse needs more than 1GB to run, it is multiple worlds, theres your issue.
     
  4. Offline

    Clinton

    Essentials is just fine and doesn't use that many resources.
     
    -_Husky_- likes this.
  5. Offline

    Gabes100

    Multiverse is not the problem I have ran the server without it. The ram continues to go up and is never released without it and with it.
     
  6. Offline

    -_Husky_-

    Delete or remove the worlds it has created.
     
  7. Offline

    Gabes100

    Thx, I just did that but it continues to leak memory. Everything created from multiverse is deleted. So that is not the problem
     
  8. Offline

    midnightfang22

    maybe piston chest then? The others don't have a memory leak as far as I know of...
     
    -_Husky_- likes this.
  9. Offline

    Gabes100

    Is it possible for essentials to have it?
     
  10. Offline

    drakee510

    What I would do is make a new server folder, and just run that see if that leaks, if not slowly add plugin by plugin back till you catch the bad one.
     
  11. Offline

    Gabes100

    I also run my server off of a server hosting company. could that play a role in he memory leak?
     
  12. Offline

    Necrodoom

    completely false. essentials uses resources as much as a medium plugin would do.
     
  13. Offline

    lol768

    I'm just stating past experience, where Essentials would cause issues. I think the main issue is enabling functionality that you're not gonna use. For instance, I remember some functionality that blocked TNT (EssentialsProtect?).
    https://github.com/essentials/Essen...3/protect/EssentialsProtectBlockListener.java

    The events above are registered regardless of whether I want to stop block ignites or not. Every time somebody does so, Essentials has to check the config and then decide whether or not to cancel the event.
    https://github.com/essentials/Essen...t/src/net/ess3/protect/EssentialsProtect.java

    Essentials is great for most servers, but when I'm running more than one server on a low-spec VPS I need to ensure that everything is as efficient as possible. That's why I write most of the stuff myself.
     
  14. Offline

    Necrodoom

    maybe if you actually looked at the ACTUAL branch of essentials...

    https://github.com/essentials/Essen...s/protect/EssentialsProtectBlockListener.java

    also, can you prove it actually makes a noticeable impact on your server?
     
  15. Offline

    lol768

    The issue remains in both branches.

    No, I can't prove anything. I was simply stating my experiences with the plugin. It will make an impact. Whether it is noticeable is debatable. Probably not, but there is a chance.
     
  16. Offline

    Necrodoom

    i will forward this to developers, if you want to report something that seems wrong, theres the assembla tracker of essentials.
     
  17. Offline

    lol768

    To be honest, it's not worth reporting because it's so trivial.
     
  18. In both branches the config file is not checked, this is done against a memory storage cache.

    Also, EssentialCore is fairly modular, if you don't have a jail set, the jail listeners won't be registered. EssentialsProtect however is it's own jar. It makes little sense to add the overhead required to register separate listeners for each little toggle. Feel free to look at the results of a /timings merged though, if you see any oddities feel free to make a bug report.
     
    MyPictures likes this.
  19. Offline

    MyPictures

    @lol768 I use Essentials, EssentialsSpawn and EssentialsSpawn and the resource usage is just fine for me. I never really was a big fan of EssentialsProtect because I need region protection and such so WG and WE.

    @Gabes100 some OS systems don't unload the RAM for some reasons (specially for java), did you use the /gc command to get the ram usage or did you just watch the taskmanager/terminal/...?
     
  20. Offline

    Gabes100


    I am only able to view server terminal, I have no what the computer I am hosting is doing with Java.
     
Thread Status:
Not open for further replies.

Share This Page