Fix Project Zomboid “Out of Memory” / Low RAM Crash (2025 Ultimate Guide – 300+ Mods & Max Zombies)

Project Zomboid725 views23 favorites1 min readby KaneView on Steam ↗

🧩 1. Find your Project Zomboid folder

C:\Program Files (x86)\Steam\steamapps\common\Project Zomboid\

🧾 2. Open ProjectZomboid64.json

Right-click → Edit with Notepad.

🧠 3. Locate the section called "vmArgs": [ … ]

It should look like this by default:

"vmArgs": [
"-Djava.awt.headless=true",
"-Xmx3072m",
"-Dzomboid.steam=1"
],

⚙️ 4. Replace it with the optimized version:

"vmArgs": [
"-Djava.awt.headless=true",
"-Xms16g",
"-Xmx32g",
"-XX:+UseZGC",
"-XX:+AlwaysPreTouch",
"-XX:+UseStringDeduplication",
"-Dzomboid.steam=1",
"-Dzomboid.znetlog=1",
"-Djava.library.path=win64/;.",
"-XX:-CreateCoredumpOnCrash",
"-XX:-OmitStackTraceInFastThrow"
],

💡 If you have lots of mods or 128 GB RAM, you can also use:

-Xms32g
-Xmx64g

💾 5. Save the file → Restart Steam → Launch the game

At startup you should see in console.txt:

Memory max: 32768.0 MB
or higher – that means it worked! ✅

🚀 Recommended for High-End PCs

This guide was created by its original author on the Steam Community. Are you the author and want it removed? Request removal.