Memory and GC Setup ‐ Modrinth App - Vivecraft/VivecraftMod GitHub Wiki

To set the memory and garbage collector settings on the Modrinth app, select the desired instance and follow these steps:

  1. Click on "Options"
  2. Add -XX:+UseZGC to the Java arguments
  3. Set the Java memory in MB, at least 6 GB is recommended for ZGC (1024 MB = 1 GB)