Java throw an out of memory error
RuofengX opened this issue · 5 comments
[15:59:16] [Thread-26/WARN]: Exception in thread "mysql-cj-abandoned-connection-cleanup" java.lang.OutOfMemoryError: Java heap space
[15:59:16] [mysql-cj-abandoned-connection-cleanup/WARN]: java.lang.OutOfMemoryError: Java heap space
[15:59:16] [Server thread/WARN]: java.lang.OutOfMemoryError: Java heap space
[15:59:16] [Thread-26/INFO]: [CoreProtect] Disabling CoreProtect v19.5
[15:59:16] [Thread-26/INFO]: [CoreProtect] Finishing up data logging. Please wait...
[15:59:16] [Thread-26/INFO]: [CoreProtect] Success! Disabled CoreProtect v19.5
[16:00:02] [Server thread/WARN]: Entity threw exception at world:2.550000011920929,70.38494690728648,-1055.9837996581568
[16:00:02] [Server thread/WARN]: java.lang.OutOfMemoryError: Java heap space
[16:00:02] [Server thread/INFO]: TystLune lost connection: Disconnected
[16:00:02] [Server thread/INFO]: 7starsseeker lost connection: Disconnected
[16:00:02] [Server thread/INFO]: com.mojang.authlib.GameProfile@710f7148[id=252b52cb-ed4b-3c2f-b418-3122392568f4,name=TystLune,properties={},legacy=false] (/223.104.51.241:51533) lost connection: Timed out
And then nobody could not connect to the server.
Full log(Only 1 day) at https://pastebin.com/ErSMaaHM
I don't know what's wrong, only Authme, Dynmap and CoreProtect use MySQL and CoreProtect went wrong after mysql warning. So I think it may be CoreProtect.
The minecraft server have run a lot of days, maybe 20 days, with no reboot.
After reboot, everything runs correctly.
Unlikely that it’s CoreProtect. You should update to CoreProtect v20.1 though.
Thanks for notification!
@RuofengX how much memory does your server have assigned?