#How to reduce RAM consumption

13 messages · Page 1 of 1 (latest)

hasty phoenix
#

are there any ways. Which will help reduce/optimize the consumption of RAM. I will be grateful for any advice both in the project zomboid and directly in the operating system. I have 16GB spiffo

solar compass
#

if anything your issues may be related to the underusage of ram, the game is limiting itself to 3 gigabytes iirc which is fine normally but can cause issues with mods

#

Project Zomboid is a Java based game, and by default most Java games have a limit to how much RAM they can access. Allowing the game more is quite often a good solution to FPS spikes and overall performance stability

This process will help you increase the allocated RAM. This should provide much more stability. ONLY FOR PEOPLE WITH minimum 16GB RAM and a 64bit Operating System

    1. Make sure your game is closed fully.
    1. Find where your game is installed. For its Windows is usually found here: C:\Program Files (x86)\Steam\steamapps\common\ProjectZomboid
    1. Locate the file named ProjectZomboid64.json and open it with your favourite Text Editor (I recommend Notepad++)
    1. Find the line that contains "-Xmx***m", the *s represent the default value. Change this number to be something more than 4GB. It is a binary number, so 4GB = 4096, 8GB = 8192.

I would recommend 8GB if you normally have this spare while running everything else you usually use whilst playing Project Zomboid.

Verifying Files will revert all changes - you will need to do the above process all over again in the event of needed to verify your game files.

#

but if you do want to decrease it even further then you can do this process just lower the number instead

#

but fair warning if youre going below the set amount the game is giving itself youre likely to make performance even worse

hasty phoenix
# solar compass Project Zomboid is a Java based game, and by default most Java games have a limi...

Thank you very much for such a detailed guide! But I have already read it too. Project Zomboid eats up over 10GB of RAM. It loads the RAM so much that I have to close all background processes and play only Zomboid. But even under such conditions, there are crashes and crashes in the game. I would like to know more about how to optimize the RAM in the game. Or do I need to directly look for optimization for the operating system. Even if I set the value to**.json**, the game still distributes the memory as it wants

[ I apologize in advance for many grammatical errors, I am from a translator ]

hasty phoenix
# solar compass id imagine 16 would be enough, i played for 3 or 4 years on 16 with no notable i...

I'm talking about the same thing, in theory my 16 GB should be enough. But lately I just don't have enough memory and I'm experiencing quite big problems, if I close all background processes and am on the desktop, my operating system already consumes 15-20% of memory. I tried to look for guides/programs and even found utilities that helped to cope with this problem, but this is only a temporary effect.

drifting talon
#

the real question here is, do you play vanilla or heavily modded PZ ?
Cause vanilla PZ do not consume that much ram.

proven dragon
#

It doesn't use that much ram. If you allocate 10gb xmx then it will use up to 10gb because that's how java works. The java does not use what it need, it use what it is allow and doesn't recycle the memory until it reach the cap.

hasty phoenix
hasty phoenix
proven dragon