mojira.dev
MC-141267

Main menu uses a lot more RAM than it should

In my opinion, the weird memory leaks that the latest snapshots have had begin even before to open any world, as can be seen here.

18w50a is close to triple the memory usage than 1.13.2 !!

Environment

Java 1.8.0_51 64bit

Intel Core I7 7700HQ

Nvidia GTX 1050

JVM arguments: -client -d64 -Xmx3000m -Xmn256m -XX:+UseG1GC -XX:+AlwaysPreTouch -XX:+UnlockExperimentalVMOptions -XX:MaxGCPauseMillis=500 -XX:+DisableExplicitGC -XX:TargetSurvivorRatio=90 -XX:G1NewSizePercent=50 -XX:G1MaxNewSizePercent=80 -XX:InitiatingHeapOccupancyPercent=10 -XX:G1MixedGCLiveThresholdPercent=50

Attachments

Comments 1

The JVM was granted a limit of 3GB of memory (-Xmx3000m) and the Windows task manager is not a reliable tool to measure the memory usage of Java processes running in that VM. Unless the process runs out of memory over time, this is not a bug.

FACS01

SeargeDP

Confirmed

Minecraft 18w50a, Minecraft 19w12b, Minecraft 19w13b

Retrieved