When “start” is clicked to start Minecraft, all startup appears positive, a player then logs on, and it crashes after about a minute for no apparent reason. It continues to do this several times, then eventually subsides. I believe this may have something to do with the RAM usage, as it is peaking even with 4GB allocated. As far as I know, Minecraft servers typically use only 2GB of ram. I am using a Debian 11 Linode server, and there is nothing running exept AMP.
Minecraft server crashes repeatedly when run
- 171 Views
- Last Post 08 January 2022
Check the logs to see exactly why it's crashing. But these days 4GB is not sufficient for a Minecraft server.
What version of Java have you told AMP to use? Did you let AMP install Java for you?
It also gives the following error
com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 1 column 1 path $
at com.google.gson.internal.Streams.parse(Streams.java:60) ~[gson-2.8.8.jar:?]
at com.google.gson.internal.bind.TreeTypeAdapter.read(TreeTypeAdapter.java:65) ~[gson-2.8.8.jar:?]
at aiq.a(SourceFile:503) ~[server-1.18.jar:?]
at aiq.a(SourceFile:527) ~[server-1.18.jar:?]
at pz$a.a(SourceFile:365) ~[server-1.18.jar:?]
at acj.a(SourceFile:616) ~[server-1.18.jar:?]
What you're seeing above is related to the Resource Pack Prompt. Above that, it probably says Failed to parse resource pack prompt 'A resource pack is required to connect to this server.', which would confirm. @Mike, is there a reason why it can't parse the message?
With the new version of Minecraft (1.18), 4GB is probably the absolute minimum for vanilla with a few players. If you have only 4GB for your whole virtual server, this is going to be a squeeze.
When you say the server crashes, do you mean that it makes players timeout? Or do you mean it has to be restarted?
Edit: Should add that if you are on a shared CPU plan, this may also be a detriment to performance. You may find that if the CPU is strained, it will take a lot of time to generate new chunks - this will cause people to timeout if it takes too long. A dedicated CPU plan would be better, though I am not guaranteeing it is a solution.
My server has at most 4 player simultaneously online. when the crashes occur, the players are kicked from the game with error "connection refused." the settings are quite low, with render distance at 5, simulation distance at 4, and Entity distance at 45 blocks.
So, what is the message in the log/console when it happens?
So it crashes at 15:40:10?
Also, you're using a third-party server with mods. This may have an impact.
15:40:10 is simply the time stamp, and I am NOT running any mods.
This Weeks High Earners
- bodine 2