After installing Project Zomboid, I am unable to launch the game properly through Steam. In most cases, the game does not start at all, and when it does launch, it stops working shortly after.
To be more specific, Steam appears to launch the game with only 256 MB of RAM allocated, even though the launch options are configured to use much more memory. I have tried setting the following JVM arguments via Steam launch options:
-Xms1024m -Xmx4096m
However, these settings do not seem to take effect when launching through Steam.
Additional details:
The game runs normally and without issues when launched using the ProjectZomboid64.bat file
The issue only occurs when launching the game via Steam
I have attempted to clear local configuration files located in C:\Users\User\Zomboid
Steam has been run as administrator
Steam Overlay has been disabled
Launch options were verified and re-applied, but the problem persists
System specifications:
Operating System: Windows 11 (64-bit)
CPU: AMD Ryzen (12 cores)
GPU: NVIDIA GeForce GTX 1070
RAM:16GB DDR4
Storage:1 TB HDD ,512 SSD
Java: Bundled Java (OpenJDK 17) used by the game/Steam
It appears that Steam is overriding or not correctly applying the JVM memory settings, resulting in the game being launched with insufficient memory.
Could you please advise on how to resolve this issue or confirm if this is a known problem?