#Game refuses to use more then 3GB of Ram(json files were edited)

1 messages · Page 1 of 1 (latest)

dense yoke
#

Not really sure why but im on the latest build 42 version and the game just refuses to use more then around 3gb of ram

elder island
#

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.

dense yoke
elder island
#

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.

dense yoke
#

oh sorry i actually did that

elder island
#

Oh lmao

dense yoke
#

(json file edited)

elder island
#

Yes

dense yoke
#

thats why i was so confused on why its not working

elder island
#

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

dense yoke
#

no worries girl im quite confused here myself since its just java in the end and it should work just like minecraft

queen basalt
#

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

dense yoke