Litematica

Litematica

9M Downloads

Freeze on entering a dimension

velnias75 opened this issue ยท 3 comments

commented

Minecraft version
1.16.5

Mod version and malilib version
litematica-fabric-1.16.4-0.0.0-dev.20210612.170003.jar
malilib-fabric-1.16.4-0.10.0-dev.21+arne.7.jar

Description of the bug
There is one unreproducable and one reproducable freeze:

Reproducable: teleporting out of the nether into the overworld (in my case with the /home command of SetHome version 5.1.2 (Spigot))
Unreproducable: occasionally at the login process to the server

The current screen just gets frozen and the MC client reacts no more untill the java process gets killed.

Attached you can find a log. The freeze happens around at timestamp [13:47:55].

Note: tested with following JVMs:

  • graalvm-ce-java11-21.1.0
  • graalvm-ce-java16-21.1.0

2021-06-22-7.log.gz

commented

How much memory do you have allocated, and how high is the usage usually? That log doesn't really show anything.

If it's an issue of running out of memory, then this build might help, it has a lowered limit on the number of render threads and buffers it creates, which should lower the memory requirements a lot compared to the normal versions: https://masa.dy.fi/tmp/minecraft/mods/misc_test_versions/litematica-fabric-1.16.4-0.0.0-dev.20210322.005512.jar

commented

The problem persists :-(

I've allocated 2 Gigs to my MC and I never reach more than 70-80 %.

My JVM-arguments:
-client -Xms128M -Xmx2G -Xmixed -XX:+DisableExplicitGC -XX:+UseNUMA -XX:MaxTenuringThreshold=15 -XX:MaxGCPauseMillis=30 -XX:GCPauseIntervalMillis=150 -XX:-UseGCOverheadLimit -XX:+UseBiasedLocking -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=15 -Dfml.ignorePatchDiscrepancies=true -Dfml.ignoreInvalidMinecraftCertificates=true -XX:+UseCompressedOops -XX:+OptimizeStringConcat -XX:ReservedCodeCacheSize=2048m -XX:+UseCodeCacheFlushing -XX:SoftRefLRUPolicyMSPerMB=10000 -XX:ParallelGCThreads=2

commented

Could also be related to: sp614x/optifine#5719
But please note: it works with Litematica disabled.