Mojira Archive
MC-225371

Unstable Server ~ Possible Memory Leak

This is a Java Versioning issue, If you run specific versions of Java 16 on older versions you run into similar issues. Some versions you cannot load certain worlds and codes, and the crashing happens because of the Java version not the Snapshot as you can take off the Java 16 and revert change to another build and the issues do not persist (Though cannot test 21w19a without Java 16 you can test the previous builds and you will notice some strange occurrences)

I am wondering if there is a Specific Build of Java 16 that is Suggested; I have seen 16 and 16.0.1 but have experienced issues on both versions as well as the Latest Oracle release version of 16.

I tested this on previous snapshot with this version of Java and encountered similar issues. (On Both a Supported Model Ryzen 3 CPU/32GB RAM and the Unsupported PI 8GB Model) Both encountered time out issues.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

java.lang.NullPointerException: Cannot invoke "abl.o_()" because "☃" is null
at net.minecraft.server.MinecraftServer.a(SourceFile:576) ~[server.jar:?]
at net.minecraft.server.MinecraftServer.u(SourceFile:603) ~[server.jar:?]
at aam.u(SourceFile:562) ~[server.jar:?]
at net.minecraft.server.MinecraftServer.x(SourceFile:712) ~[server.jar:?]
at net.minecraft.server.MinecraftServer.a(SourceFile:261) ~[server.jar:?]
at java.lang.Thread.run(Thread.java:831) [?:?]

Not sure if that is related or not

We migrate to a AMD Ryzen 3 @ 3.6GHZ
32GB RAM
64Bit OS

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

There is no output when the crash happens, iv upload some logs if I need to upload more please let me know.

The issue is unrelated to Datapacks (Happens with them on or off)

Have no confirmed in a CLEAN world but when loading the current world file we have the server crashes eventually (Random, cannot really decided when or how but its a proccess killed event)

We allocate 6500MB to the server and leave around 1GB of 'Padding/safety' so I do not think its an issue with the machine running out of RAM.

This also did not happen the previous snapshots so Its something to do with Java 16 or the Snapshot code?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I followed this guide 

https://levelup.gitconnected.com/building-openjdk-from-github-sources-on-64-bit-raspberry-pi-6d90b7842654

and got Java 1.16 working on a Raspberry Pi.

 

The server boots but is no longer Stable (I disabled All our datapacks and the game is unplayable for even 1 player online)

Basically when you attempt to play it eventually "Times out"

I will try and get the logs added to this report ASAP

 

Invalid

Centural

2021-05-12, 07:51 PM

2021-05-14, 12:12 AM

2021-05-12, 11:23 PM

0

1

Unconfirmed

(Unassigned)

crash, multiplayer

21w19a

-