Zomboid: Java memory (-Xmx) is a last resort
- The heap limit is the -Xmx line in ProjectZomboid64.json, next to the game's executable. Copy the file first.
- In Zomboid, raise it only when you actually run out of memory or the log shows heap pressure.
- In Zomboid, leave headroom: giving the game too much steals RAM from Windows and the GPU driver and causes hitching.