#Game refuses to use more then 3GB of Ram(json files were edited)
1 messages · Page 1 of 1 (latest)
I believe you still hvae to manually set the RAM useage in the ini thing. If you google it you will find instructions on how to do it. Maybe that will help you. It has for me in the past.
Just google "Change RAM in Project zomboid" and you will find a lot of info on it.
hey i tried googling before and also this but i couldnt find anything about a ini file do you know said INI file would be located? thanks
Sorry sorry it’s the JSON file.
You can edit the ProjectZomboid64.json file directly in your Steam game folder to change the -Xmx value to 12288m (12GBRAM) or 8g
I dk why you didn’t find anything.
If you google
“Project Zomboid how to allocate ram” and you should get a lot of instructions from many sources. Including YouTube videos.
(I did 8192 for 8GB Ram. I have 32GB RAM but I just upped it from 4 to 8)
Instructions From a Reddit post(not mine):
1- Go to the game file : Steam\steamapps\common\ProjectZomboid
2- you should be able to see either ProjectZomboid64.json or ProjectZomboid32.json (if you have 64 bits open the 64.json if you have 32 bits open 32.json but probably everyone has 64bits) Click here to see the file
3- Open the file and locate the part where it's written -Xms and -Xmx and change the number to the ram you'd like
xms = minimum ram usable xmx = maximum ram usable
Mine is -Xms1800m and Xmx4096m for 4 gb of ram max which is enough for heavily modded project zomboid
Sorry I thought it would have been better if you just googled it as I’m bad at explaining things lol but I just copy and pasted the instructions I use from an old reddit post.
I don’t have a minimum option in my json so I just set the xmx to “8192m” for 8GB ram.
oh sorry i actually did that
Oh lmao
(json file edited)
Yes
thats why i was so confused on why its not working
Have you tried using less? I read somewhere that for servers using LESS ram was actually better
If it’s for SP then I dk. Allocating RAM always works for me. :/ sorry I am no help
no worries girl im quite confused here myself since its just java in the end and it should work just like minecraft
How are you actually measuring the usage? What profiler are you using?
The game in vanilla doesnt need more than 3gb really
Java wont use more if it doesnt need more
sorry for the late response so i wasnt running vanilla shoud have mentioned that but i manged to fix it by installing the mod called multi cpu fix and using its json file my game is now using around 13gb