Project Zomboid

Project Zomboid

CatCloud Jan 12, 2022 @ 7:46am
Any future performance updates coming??
Have there been any talks about doing something about the overall performance of this game?

I haven't been paying attention to this games development aside from its been in development for a decade. (or close too)
But a quick search after looking for a solution for my own crap performance on a machine that can run Cyberpunk maxed out has told me, the game has had performance issues since the start.

Now, too be fair, the game did have a visual update which is great and all, But to be honest it's not much of a looker anyway so why it runs like crap is beyond me,and Im not talking about when it's misty and rainy... Then it's around 23 fps even when you zoom in all the way.

I've not tried multiplayer but since that's more of a network thing I doubt it would run any worse than Solo right?

So yeah, any plans to do something once and for all about the games performance??

I heard something about the game only using 2gb ram.. But it's multiplayer related i think? If not this seems like an oversight that rivals Minecraft's... I need more info on this.

So how is everyone's overall situation on this regard? I know I can just turn down things, I've done that but this isn't some Rtx crap game from electronic Art. What is making the game run so bad? :lunar2020thinkingtiger:
< >
Showing 16-30 of 55 comments
Chryseus Jan 13, 2022 @ 5:45am 
Originally posted by EnigmaGrey:
Yeah, in certain cases it probably would smooth out GC collection, if it's being used.

Not -quite- sure if it's only used on non-ZGC GCs off-hand, which would mean it working means could be on an older GC (but am in no way sure). Will see if I can find some documentation on it.
GCPauseIntervalMillis does nothing with ZGC, I tried both garbage collectors and there isn't that much difference between them, certainly no impact on average FPS, ZGC has less micro stutter compared to default G1GC, but properly tuned both are about equal in performance.
Chryseus Jan 13, 2022 @ 6:31am 
Originally posted by EnigmaGrey:
We did try tuning it, but both the microstutters and stop-the-world events were really game-enders as far as using the G1GC for us. So rather surprised they're almost-equal for you.

Getting it tuned right can be rather tricky and what is right for one system may not work that well with another, ZGC is definitely the best choice where possible.
Master X Jan 13, 2022 @ 11:45am 
Originally posted by EnigmaGrey:
Originally posted by Master X:
It's all nonsense! No updating of drivers and Windows contributes to improving performance in games, but worsening - yes! Because of the large amount of garbage in the processes that updates impose on users. In addition, my Windows does not find your mythical update 1803 at all, the last update for me is 1415. Probably, there are simply no higher updates for my processor, and you tell me to update to 1803, this was already discussed in another topic and I updated everything I could, it did not help in any way, but only made it worse in other games!

1415 is 1904 from December this year.

1803 is from April 2018.

1803 is literally required for zgc to work. The thing is night and day compared to the older gcs.

Just because it didn’t work out for you, doesn’t mean they’re wrong.
I installed all the updates that my Windows found, 1803 should I download it somewhere separately?
Master X Jan 13, 2022 @ 12:12pm 
Originally posted by RAM:
Originally posted by Master X:
It's all nonsense! No updating of drivers and Windows contributes to improving performance in games, but worsening - yes! Because of the large amount of garbage in the processes that updates impose on users. In addition, my Windows does not find your mythical update 1803 at all, the last update for me is 1415. Probably, there are simply no higher updates for my processor, and you tell me to update to 1803, this was already discussed in another topic and I updated everything I could, it did not help in any way, but only made it worse in other games!

I'm using update 21h2 which came out last year (1803 came out in 2018) and thought I must be using a really old version then if adding "-XX:GCPauseIntervalMillis=100" improves performance. Don't know why it helped but it did
I don’t understand where to insert this parameter, I tried to insert it into ProjectZomboid64.bat, but after that the game refuses to start through this file, maybe I’m adding it to the wrong line?
Chryseus Jan 13, 2022 @ 12:30pm 
Originally posted by Master X:
Originally posted by RAM:

I'm using update 21h2 which came out last year (1803 came out in 2018) and thought I must be using a really old version then if adding "-XX:GCPauseIntervalMillis=100" improves performance. Don't know why it helped but it did
I don’t understand where to insert this parameter, I tried to insert it into ProjectZomboid64.bat, but after that the game refuses to start through this file, maybe I’m adding it to the wrong line?
You need to add -XX:MaxGCPauseMillis=200 as well, that's the default value you will likely need to adjust both, but if ZGC works and I see no reason why it should not you should use that instead with -XX:+UseZGC.
You can see what garbage collector is currently being used by adding -Xlog:gc:"C:\gc.log"
RAM Jan 13, 2022 @ 3:03pm 
Originally posted by Master X:
Originally posted by RAM:

I'm using update 21h2 which came out last year (1803 came out in 2018) and thought I must be using a really old version then if adding "-XX:GCPauseIntervalMillis=100" improves performance. Don't know why it helped but it did
I don’t understand where to insert this parameter, I tried to insert it into ProjectZomboid64.bat, but after that the game refuses to start through this file, maybe I’m adding it to the wrong line?

On line 5, scroll to the right till you see "-XX+UseZGC". You want to add it to the left of it. It should look something like this:

-XX:-OmitStackTraceInFastThrow -XX:GCPauseIntervalMillis=100 -XX:+UseZGC.

You'll also want to run the bat file as admin
Last edited by RAM; Jan 14, 2022 @ 12:54am
CatCloud Jan 13, 2022 @ 5:28pm 
Originally posted by EnigmaGrey:
You could try this: https://steamcommunity.com/app/108600/discussions/0/3198118671867252559/

One of my old pet theories is on high end hardware, the GPU doesn't see enough usage so downlocks PZ. Ofc, having people manually set the clock didn't seem to help, but perhaps adding the javaw.exe to the list of high-performance applications might make a difference?

You really should be seeing a drastic difference between 4k and 1080 though. Something on the order of 20-30 FPS. Check if Vsync is on and set frames to uncapped? See if that smooths it out a bit -- if it can output many more frames but stay above 60 FPS, the dips might be far less noticeable.
Not too sure what im supposed to do since there advice is for AMD and im using Nvidia, im guessing this has something to do with "Manage 3D settings" i tried adding JavaW and PZ but no difference.
AFAIK Nvidia doesnt have some kind of "target minimun FPS" function.

Vsync is on/off made no difference, and fps is uncapped or capped made no difference.

Dropping down the resolution this time gave me 11 more fps, alas the game looks stretched because of it though. But it did something at least.

Maybe ill play it on my second monitor instead since its 1920x1080. The Ultrawide sadly seems to be too much for the game to handle.
Master X Jan 13, 2022 @ 10:15pm 
Originally posted by RAM:
Originally posted by Master X:
I don’t understand where to insert this parameter, I tried to insert it into ProjectZomboid64.bat, but after that the game refuses to start through this file, maybe I’m adding it to the wrong line?

On line 5, scroll to the right till you see "-XX+UseZGC". You want to add it to the left of it. It should look something like this:

-XX:-OmitStackTraceInFastThrow -XX:GCPauseIntervalMilis=100 -XX:+UseZGC.

You'll also want to run the bat file as admin
Does not work for me, the game does not open:
Unrecognized VM option 'GCPauseIntervalMilis=100'
Did you mean 'GCPauseIntervalMillis=<value>'? Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Master X Jan 13, 2022 @ 10:21pm 
Originally posted by Chryseus:
Originally posted by Master X:
I don’t understand where to insert this parameter, I tried to insert it into ProjectZomboid64.bat, but after that the game refuses to start through this file, maybe I’m adding it to the wrong line?
You need to add -XX:MaxGCPauseMillis=200 as well, that's the default value you will likely need to adjust both, but if ZGC works and I see no reason why it should not you should use that instead with -XX:+UseZGC.
You can see what garbage collector is currently being used by adding -Xlog:gc:"C:\gc.log"
this option doesn't work either.
Master X Jan 13, 2022 @ 10:25pm 
Originally posted by Master X:
Originally posted by EnigmaGrey:

1415 is 1904 from December this year.

1803 is from April 2018.

1803 is literally required for zgc to work. The thing is night and day compared to the older gcs.

Just because it didn’t work out for you, doesn’t mean they’re wrong.
I installed all the updates that my Windows found, 1803 should I download it somewhere separately?
My system:
Version 20H2
Build 19042.1415
This is the last update for my windows, then it doesn’t find anything, how can I get update 1803, will anyone answer?
RAM Jan 14, 2022 @ 12:53am 
Originally posted by Master X:
Does not work for me, the game does not open:
Unrecognized VM option 'GCPauseIntervalMilis=100'
Did you mean 'GCPauseIntervalMillis=<value>'? Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

Completely my fault. I typo'd. There are 2 L's in "Millis"
Try again with "-XX:GCPauseIntervalMillis=100"
Copied and pasted directly from my bat file
Master X Jan 14, 2022 @ 3:34am 
Originally posted by RAM:
Originally posted by Master X:
Does not work for me, the game does not open:
Unrecognized VM option 'GCPauseIntervalMilis=100'
Did you mean 'GCPauseIntervalMillis=<value>'? Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

Completely my fault. I typo'd. There are 2 L's in "Millis"
Try again with "-XX:GCPauseIntervalMillis=100"
Copied and pasted directly from my bat file
The game still won't launch.
Master X Jan 14, 2022 @ 3:38am 
Originally posted by ThatZenoGuy:
Running a 1660ti with a ryzen 3600 and 16 gigs of DDR4 RAM and the game runs pretty nicely, only when you're dealing with literal entire-towns-worth of population can it become janky.

I can entirely understand that a lot of people could be having performance issues though, due to older hardware of mods.
The game itself is outdated! And not the iron of people who are full here!
The problem is obviously not in the hardware, stop blaming other people's computers all the time for their weakness, since you have become a happy owner of top-end equipment, piss me off!
Erkin Jan 14, 2022 @ 3:42am 
RAM Jan 14, 2022 @ 4:12am 
Originally posted by Master X:
The game still won't launch.

My last guess for it not launching after adding in the line is either a typo somewhere or it just doesn't work with your system. I can't narrow it down as to why it's not but I hope that in the future you're able to find something that helps your performance
< >
Showing 16-30 of 55 comments
Per page: 1530 50

Date Posted: Jan 12, 2022 @ 7:46am
Posts: 55