Project Zomboid

Project Zomboid

Multi-Cpu Enhance *FIXED*
正在显示第 1 - 1 项,共 1 项条目
更新于:4 月 7 日 上午 8:18
作者:4Zeta

Improved memory management:

-Xmx8192m: Increased maximum memory (if your PC has 16GB+ RAM)
-Xms4096m: Added minimum memory to reduce the need for reallocation

Garbage Collector optimizations:

Improved ZGC usage for Windows 10+ versions
Changed fallback to use G1GC with optimized parameters
Added -XX:+UseNUMA for multi-CPU systems
Added -XX:+AlwaysPreTouch to pre-allocate memory at startup

Batch file optimizations:

Automatic detection of system RAM
Automatically scale memory allocation based on available RAM
Detection of number of CPU cores to optimize GC threads

General optimizations:

-XX:+OptimizeStringConcat to improve handling of strings
-XX:+DisableExplicitGC to avoid explicit garbage collector calls