#(CRASH)Just need help figuring out what happended
22 messages ยท Page 1 of 1 (latest)
(CRASH)Just need help figuring out what happended
your error java.lang.OutOfMemoryError: Java heap space is a common error in Java applications. It occurs when the application tries to use more memory than is allocated for the Java Virtual Machine's (JVM) heap.
You use 340+ mods but still use the default heap size for PZ
So even with 32gb Ram and your 4070 PZ is still ram limited and crash.
-
Go to the PZ installation folder : (in your case)
E:\SteamLibrary\steamapps\common\ProjectZomboid -
Edit file
ProjectZomboid64.jsonwith notepad -
Change line
"-Xmx3072m",by a greater value like"-Xmx8192m", -
Save
-
Profit
thanks
I just checked its set to 12gbs of ram in both the .bat and .json file
lowered my mod count just to test it and it still crashes after stuttering and lagging a bit, but i got into the game past the loading screen
just tried it with the alternate launch on steam and it works fine
alright in alternate launch all my mods work thanks for the help
LOG : General , 1703458523214> Memory free: 478.0 MB
LOG : General , 1703458523214> Memory max: 1024.0 MB
LOG : General , 1703458523214> Memory total available to JVM: 500.0 MB
Good to know everything works
But here whats your log say about ram
You may have something wrong
i would have no idea how to interpret that
There shouldn't be anything wrong I just did this pc upgrade the ram is brand new
no I mean something wrong with the way you set the 12gb
do you think that would let me launch in regular mode?
i followed this video and thats why its g instead of an actual number
How to increase ram in project zomboid so your game runs faster.
try it in the json
On my side I only launch PZ with .bat
But 8G is enough