# Hytale Server Performance Guide (/docs/hytale/optimize-performance)



import { Step, Steps } from 'fumadocs-ui/components/steps';

MaxViewRadius (Most Important) [#maxviewradius-most-important]

The default `MaxViewRadius: 32` is **very high** and uses the most RAM. Reduce to **12** (384 blocks) for production servers:

```json
"MaxViewRadius": 12
```

This is roughly equivalent to Minecraft's view-distance 24.

JVM Flags [#jvm-flags]

Recommended startup:

```
java -Xms4G -Xmx4G -XX:+UseG1GC -XX:AOTCache=HytaleServer.aot -jar HytaleServer.jar --assets Assets.zip
```

* `-Xms4G -Xmx4G` — 4GB RAM (adjust based on player count)
* `-XX:+UseG1GC` — G1 garbage collector
* `-XX:AOTCache=HytaleServer.aot` — Faster startup with AOT cache

Per-World Settings [#per-world-settings]

Keep `IsUnloadingChunks: true` in world configs — this lets the server free memory for inactive chunks.

Monitor Performance [#monitor-performance]

Use `/tps` in-game to check server tick rate and `/ping` for latency.

Related Guides [#related-guides]

* [Server Configuration](/docs/hytale/server-config)
