Autorank

Autorank

380k Downloads

[BUG] java.lang.OutOfMemoryError: Java heap space

WoAnerges opened this issue ยท 3 comments

commented

Autorank has suddenly crashed the server. It has never happened before. Please tell me what could've caused this? I noticed that it is somehow connected to the simpleconfig.yml, but I use the advancedconfig.yml, I don't even have the simpleconfig enabled. I need some output from you guys on this situation.
http://pastebin.com/vnUwgN1z

commented

It doesnt say simpleconfig.yml anywhere, I'm assuming you're talking about SimpleYamlConfiguration which is just a class I wrote to make saving an loading configs easier in all of my plugins.

It actually ran out of memory during autorank.playtimes.Playtimes.save(), if your server just happened to be low on memory at the time this wouldnt be an autorank issue.

But I know you have a really big data file so saving it is probably causing a bit of stress on the server, we should add a command that deletes all entries below x minutes so that it doesnt have to save and load all those inactive players.

commented

This could be the reason indeed. It would be nice if you added this command

commented

Consider it done.