[SPIGOT-4831] world setKeepSpawnInMemory to false does not work Created: 01/May/19  Updated: 02/May/19  Resolved: 02/May/19

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Eli Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: 1.14, Startup, chunks, memory
Environment:

home-hosted

2GB RAM

Windows 10

 

 

 


Attachments: PNG File image-2019-05-01-14-42-37-646.png     PNG File image-2019-05-01-14-44-01-191.png    
Version: git-Spigot-1eece4f-4fa2ad7 (MC: 1.14)
Guidelines Read: Yes

 Description   

When using the code

World world = Bukkit.getWorld("world");
world.setKeepSpawnInMemory(false);

in onEnable(), it will still load my world on startup, keeping its spawn-area chunks in memory.

(also using it for world_nether and world_the_end)

This wasn't the case with Spigot 1.13.2, it wouldn't even load the chunks on startup of my server (Preparing spawn area: ...% wouldn't show). But now it does.

441 chunks per world, that of their spawn area

 


Generated at Tue Apr 22 04:41:52 UTC 2025 using Jira 10.3.5#10030005-sha1:190c783f2bd6c69cd5accdb70f97e48812a78d14.