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 Essentials Anti Build Essentials Chat Essentials Protect Essentials Spawn World Edit World Guard Factions Multiverse-core Multiverse-inventories Multiverse-portals 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?
Install a RAM checking plugin. I can tell you Essentials will be quite bad though http://dev.bukkit.org/server-mods/ram/
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.
Thx, I just did that but it continues to leak memory. Everything created from multiverse is deleted. So that is not the problem
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.
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.
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?
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.
i will forward this to developers, if you want to report something that seems wrong, theres the assembla tracker of essentials.
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.
@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/...?