Addon for Project Viewpoint that increases heap limit, preloads classes, and optionally records long frames in Project Zomboid. Requires Viewpoint and ZombieBuddy 2.3.0+.

Viewpoint Perfomance v19.10.2026 · ModsFire, 167.8 КБ · 12 downloads
Contents

Viewpoint Perfomance is an addon for Project Viewpoint (Build 42.21) in Project Zomboid. It requires both the Viewpoint mod and ZombieBuddy version 2.3.0 or newer.

Features

  • Prewarm: Loads the classes patched by Viewpoint addons during the loading screen, preventing the 20-65 ms stutter that can occur the first time certain features (such as shooting, entering a vehicle, or using a flashlight) are used. This reduces noticeable frame hitches during gameplay.
  • Java heap increase: Raises the game's Java heap limit to 4.5 GB (from the default 3 GB). This helps avoid full garbage collection freezes (up to 0.8 seconds) that may happen when loading a world with Viewpoint and its addons. In testing, these freezes did not occur with the increased heap.
  • Optional frame recorder: If you set measure=true in Zomboid/ViewpointPerf.properties, the mod will log frames that take longer than 25 ms to a CSV file for performance analysis.

Game File Modification

  • On every game start, the mod checks the -Xmx value in ProjectZomboid64.json in the game folder. If it is below 4608 MB, the mod automatically rewrites this value. Higher values are not reduced.
  • This process is automatic and cannot be disabled in settings. The heap limit can be changed by editing heapMb in Zomboid/ViewpointPerf.properties.
  • The original ProjectZomboid64.json is backed up once as ProjectZomboid64.json.vpperf-backup.
  • The new heap limit takes effect from the next launch (the first launch after installation still uses the old value).
  • If Steam updates the game and restores the original file, the mod will reapply the change at the next start.
  • To undo the change, disable the mod and restore the backup file over ProjectZomboid64.json.
  • The mod will not set the heap above 60% of your system's RAM. Ensure your computer has enough memory available.

Limitations

  • Does not fix slow Lua code from other mods.
  • Does not change rendering.
  • Contains no Viewpoint code itself.

Screenshots 1

Add to collection Report